microsoft / cppgraphqlgen
File Size

The distribution of size of files (measured in lines of code).

Intro
  • File size measurements show the distribution of size of files.
  • Files are classified in four categories based on their size (lines of code): 1-100 (very small files), 101-200 (small files), 201-500 (medium size files), 501-1000 (long files), 1001+(very long files).
  • It is a good practice to keep files small. Long files may become "bloaters", code that have increased to such gargantuan proportions that they are hard to work with.
Learn more...
File Size Overall
  • There are 64 files with 18,424 lines of code.
    • 4 very long files (7,252 lines of code)
    • 7 long files (5,647 lines of code)
    • 7 medium size files (1,847 lines of codeclsfd_ftr_w_mp_ins)
    • 9 small files (1,333 lines of code)
    • 37 very small files (2,345 lines of code)
39% | 30% | 10% | 7% | 12%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: zoomable circles | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
cpp56% | 29% | 5% | 5% | 3%
h0% | 35% | 21% | 12% | 29%
cmake0% | 0% | 0% | 0% | 100%
graphql0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src59% | 31% | 4% | 4% | 0%
include/graphqlservice0% | 64% | 18% | 13% | 3%
include/graphqlservice/internal0% | 47% | 31% | 6% | 13%
include0% | 0% | 32% | 40% | 27%
src/introspection0% | 0% | 14% | 11% | 73%
include/graphqlservice/introspection0% | 0% | 0% | 0% | 100%
cmake0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
SchemaGenerator.cpp
in src
2490 23
GraphQLService.cpp
in src
1759 77
Validation.cpp
in src
1615 35
SchemaLoader.cpp
in src
1388 44
RequestLoader.cpp
in src
956 26
GraphQLService.h
in include/graphqlservice
946 32
Grammar.h
in include/graphqlservice/internal
883 16
SyntaxTree.cpp
in src
823 15
ClientGenerator.cpp
in src
815 17
GraphQLResponse.cpp
in src
717 25
Schema.cpp
in src
507 48
Introspection.cpp
in src
312 26
Schema.h
in include/graphqlservice/internal
302 1
SortedMap.h
in include/graphqlservice/internal
293 31
GraphQLResponse.h
in include/graphqlservice
272 10
SchemaLoader.h
in include
249 -
GraphQLClient.cpp
in src
210 16
IntrospectionSchema.cpp
in src/introspection
209 7
GraphQLClient.h
in include/graphqlservice
195 2
Validation.h
in include
189 -
JSONResponse.cpp
in src
179 27
TypeObject.cpp
in src/introspection
163 14
GeneratorLoader.cpp
in src
141 15
Awaitable.h
in include/graphqlservice/internal
125 19
RequestLoader.h
in include
117 -
GeneratorUtil.cpp
in src
113 1
Base64.cpp
in src
111 4
Introspection.h
in include/graphqlservice/internal
100 -
SyntaxTree.h
in include/graphqlservice/internal
100 6
FieldObject.cpp
in src/introspection
97 10
SchemaObject.cpp
in src/introspection
97 10
schema.introspection.graphql
in src/introspection
95 -
TypeObject.h
in include/graphqlservice/introspection
94 1
TypeObject.h
in src/introspection
94 1
IntrospectionSchema.h
in include/graphqlservice/introspection
90 -
IntrospectionSchema.h
in src/introspection
90 -
DirectiveObject.cpp
in src/introspection
87 9
cmake
cppgraphqlgen-functions.cmake
in cmake
82 -
InputValueObject.cpp
in src/introspection
78 8
EnumValueObject.cpp
in src/introspection
77 8
FieldObject.h
in include/graphqlservice/introspection
70 2
SchemaObject.h
in include/graphqlservice/introspection
70 -
FieldObject.h
in src/introspection
70 2
SchemaObject.h
in src/introspection
70 -
SchemaGenerator.h
in include
68 -
DirectiveObject.h
in include/graphqlservice/introspection
64 2
DirectiveObject.h
in src/introspection
64 2
EnumValueObject.h
in include/graphqlservice/introspection
58 2
InputValueObject.h
in include/graphqlservice/introspection
58 1
EnumValueObject.h
in src/introspection
58 2
Files With Most Units (Top 20)
File# lines# units
GraphQLService.cpp
in src
1759 77
Schema.cpp
in src
507 48
SchemaLoader.cpp
in src
1388 44
Validation.cpp
in src
1615 35
GraphQLService.h
in include/graphqlservice
946 32
SortedMap.h
in include/graphqlservice/internal
293 31
JSONResponse.cpp
in src
179 27
Introspection.cpp
in src
312 26
RequestLoader.cpp
in src
956 26
GraphQLResponse.cpp
in src
717 25
SchemaGenerator.cpp
in src
2490 23
Awaitable.h
in include/graphqlservice/internal
125 19
ClientGenerator.cpp
in src
815 17
Grammar.h
in include/graphqlservice/internal
883 16
GraphQLClient.cpp
in src
210 16
GeneratorLoader.cpp
in src
141 15
SyntaxTree.cpp
in src
823 15
TypeObject.cpp
in src/introspection
163 14
GraphQLResponse.h
in include/graphqlservice
272 10
FieldObject.cpp
in src/introspection
97 10
Files With Long Lines (Top 15)

There are 15 files with lines longer than 120 characters. In total, there are 159 long lines.

File# lines# units# long lines
IntrospectionSchema.cpp
in src/introspection
209 7 35
TypeObject.cpp
in src/introspection
163 14 30
SchemaObject.cpp
in src/introspection
97 10 17
FieldObject.cpp
in src/introspection
97 10 14
DirectiveObject.cpp
in src/introspection
87 9 13
EnumValueObject.cpp
in src/introspection
77 8 11
InputValueObject.cpp
in src/introspection
78 8 10
TypeObject.h
in include/graphqlservice/introspection
94 1 6
TypeObject.h
in src/introspection
94 1 6
IntrospectionSchema.h
in include/graphqlservice/introspection
90 - 5
IntrospectionSchema.h
in src/introspection
90 - 5
SchemaGenerator.cpp
in src
2490 23 4
in
Generator.rc.in
in cmake
36 - 1
in
Library.rc.in
in cmake
36 - 1
cmake
cppgraphqlgen-update-client-files.cmake
in cmake
50 - 1