elastic / apm-agent-php
File Size

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

Intro
Learn more...
File Size Overall
17% | 12% | 28% | 11% | 30%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: grouped by folders | grouped by size | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
cpp33% | 22% | 24% | 8% | 11%
h35% | 0% | 19% | 13% | 31%
cmake0% | 76% | 0% | 0% | 23%
php0% | 4% | 38% | 13% | 44%
xml0% | 0% | 0% | 0% | 100%
yaml0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
agent18% | 12% | 28% | 11% | 29%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
2021 -
ConfigManager.cpp
in agent/native/ext
1539 60
AST_instrumentation.cpp
in agent/native/ext
1051 33
backend_comm.cpp
in agent/native/ext
1003 39
conan.cmake
in agent/native/building/cmake
917 -
log.cpp
in agent/native/ext
694 35
AST_debug.cpp
in agent/native/ext
693 34
TransactionForExtensionRequest.php
in agent/php/ElasticApm/Impl/AutoInstrument
541 26
platform.cpp
in agent/native/ext
516 26
elastic_apm.cpp
in agent/native/ext
501 5
lifecycle.cpp
in agent/native/ext
498 18
HttpDistributedTracing.php
in agent/php/ElasticApm/Impl
490 18
Transaction.php
in agent/php/ElasticApm/Impl
479 40
platform_threads_linux.cpp
in agent/native/ext
425 21
ExecutionSegment.php
in agent/php/ElasticApm/Impl
420 32
supportability.cpp
in agent/native/ext
418 25
CurlHandleTracker.php
in agent/php/ElasticApm/Impl/AutoInstrument
418 23
Tracer.php
in agent/php/ElasticApm/Impl
410 41
util.h
in agent/native/ext
400 38
Span.php
in agent/php/ElasticApm/Impl
392 33
MySQLiAutoInstrumentation.php
in agent/php/ElasticApm/Impl/AutoInstrument
390 15
MemoryTracker.cpp
in agent/native/ext
382 20
WordPressAutoInstrumentation.php
in agent/php/ElasticApm/Impl/AutoInstrument
369 23
util_for_PHP.cpp
in agent/native/ext
342 17
PhpPartFacade.php
in agent/php/ElasticApm/Impl/AutoInstrument
332 22
tracer_PHP_part.cpp
in agent/native/ext
313 16
StackTraceUtil.php
in agent/php/ElasticApm/Impl/Util
297 26
InferredSpansBuilder.php
in agent/php/ElasticApm/Impl
267 12
log.h
in agent/native/ext
255 5
LoggableToJsonEncodable.php
in agent/php/ElasticApm/Impl/Log
242 19
time_util.cpp
in agent/native/ext
240 14
InferredSpansManager.php
in agent/php/ElasticApm/Impl
230 11
elastic_apm_alloc.h
in agent/native/ext
219 1
ConfigManager.h
in agent/native/ext
215 -
PDOAutoInstrumentation.php
in agent/php/ElasticApm/Impl/AutoInstrument
213 12
Snapshot.php
in agent/php/ElasticApm/Impl/Config
206 33
DbConnectionStringParser.php
in agent/php/ElasticApm/Impl/AutoInstrument/Util
199 8
TextOutputStream.h
in agent/native/ext
195 18
CurlAutoInstrumentation.php
in agent/php/ElasticApm/Impl/AutoInstrument
190 16
MetadataDiscoverer.php
in agent/php/ElasticApm/Impl
186 16
elastic_apm_API.cpp
in agent/native/ext
185 12
Tracer.cpp
in agent/native/ext
182 12
AutoInstrumentationUtil.php
in agent/php/ElasticApm/Impl/AutoInstrument/Util
176 18
168 9
InterceptionManager.php
in agent/php/ElasticApm/Impl/AutoInstrument
168 6
IntrusiveDoublyLinkedList.h
in agent/native/ext
160 13
TextUtil.php
in agent/php/ElasticApm/Impl/Util
160 16
processResults.php
in agent/extension_phpt_test/scripts
160 6
util.cpp
in agent/native/ext
147 9
loader.cpp
in agent/native/loader/code
142 -
Files With Most Units (Top 50)
File# lines# units
ConfigManager.cpp
in agent/native/ext
1539 60
Tracer.php
in agent/php/ElasticApm/Impl
410 41
Transaction.php
in agent/php/ElasticApm/Impl
479 40
backend_comm.cpp
in agent/native/ext
1003 39
util.h
in agent/native/ext
400 38
log.cpp
in agent/native/ext
694 35
AST_debug.cpp
in agent/native/ext
693 34
AST_instrumentation.cpp
in agent/native/ext
1051 33
Span.php
in agent/php/ElasticApm/Impl
392 33
Snapshot.php
in agent/php/ElasticApm/Impl/Config
206 33
ExecutionSegment.php
in agent/php/ElasticApm/Impl
420 32
platform.cpp
in agent/native/ext
516 26
TransactionForExtensionRequest.php
in agent/php/ElasticApm/Impl/AutoInstrument
541 26
StackTraceUtil.php
in agent/php/ElasticApm/Impl/Util
297 26
supportability.cpp
in agent/native/ext
418 25
Logger.php
in agent/php/ElasticApm/Impl/Log
120 24
WordPressAutoInstrumentation.php
in agent/php/ElasticApm/Impl/AutoInstrument
369 23
CurlHandleTracker.php
in agent/php/ElasticApm/Impl/AutoInstrument
418 23
PhpPartFacade.php
in agent/php/ElasticApm/Impl/AutoInstrument
332 22
platform_threads_linux.cpp
in agent/native/ext
425 21
MemoryTracker.cpp
in agent/native/ext
382 20
LoggableToJsonEncodable.php
in agent/php/ElasticApm/Impl/Log
242 19
lifecycle.cpp
in agent/native/ext
498 18
TextOutputStream.h
in agent/native/ext
195 18
AutoInstrumentationUtil.php
in agent/php/ElasticApm/Impl/AutoInstrument/Util
176 18
HttpDistributedTracing.php
in agent/php/ElasticApm/Impl
490 18
util_for_PHP.cpp
in agent/native/ext
342 17
tracer_PHP_part.cpp
in agent/native/ext
313 16
NoopExecutionSegment.php
in agent/php/ElasticApm/Impl
86 16
MetadataDiscoverer.php
in agent/php/ElasticApm/Impl
186 16
CurlAutoInstrumentation.php
in agent/php/ElasticApm/Impl/AutoInstrument
190 16
TextUtil.php
in agent/php/ElasticApm/Impl/Util
160 16
NoopTracer.php
in agent/php/ElasticApm/Impl
89 15
MySQLiAutoInstrumentation.php
in agent/php/ElasticApm/Impl/AutoInstrument
390 15
time_util.cpp
in agent/native/ext
240 14
IntrusiveDoublyLinkedList.h
in agent/native/ext
160 13
elastic_apm_API.cpp
in agent/native/ext
185 12
Tracer.cpp
in agent/native/ext
182 12
ElasticApm.php
in agent/php/ElasticApm
91 12
InferredSpansBuilder.php
in agent/php/ElasticApm/Impl
267 12
PDOAutoInstrumentation.php
in agent/php/ElasticApm/Impl/AutoInstrument
213 12
SerializationUtil.php
in agent/php/ElasticApm/Impl/BackendComm
90 11
InferredSpansManager.php
in agent/php/ElasticApm/Impl
230 11
TransactionContextRequestUrl.php
in agent/php/ElasticApm/Impl
93 10
ArrayUtil.php
in agent/php/ElasticApm/Impl/Util
97 10
UrlUtil.php
in agent/php/ElasticApm/Impl/Util
111 10
time_util.h
in agent/native/ext
92 9
util.cpp
in agent/native/ext
147 9
168 9
NoopTransaction.php
in agent/php/ElasticApm/Impl
58 9
Files With Long Lines (Top 50)

There are 104 files with lines longer than 120 characters. In total, there are 724 long lines.

File# lines# units# long lines
AST_instrumentation.cpp
in agent/native/ext
1051 33 69
backend_comm.cpp
in agent/native/ext
1003 39 51
ConfigManager.cpp
in agent/native/ext
1539 60 36
AST_debug.cpp
in agent/native/ext
693 34 35
WordPressAutoInstrumentation.php
in agent/php/ElasticApm/Impl/AutoInstrument
369 23 32
platform.cpp
in agent/native/ext
516 26 22
lifecycle.cpp
in agent/native/ext
498 18 21
StackTraceUtil.php
in agent/php/ElasticApm/Impl/Util
297 26 20
platform_threads_linux.cpp
in agent/native/ext
425 21 19
processResults.php
in agent/extension_phpt_test/scripts
160 6 19
log.cpp
in agent/native/ext
694 35 18
tracer_PHP_part.cpp
in agent/native/ext
313 16 16
MemoryTracker.cpp
in agent/native/ext
382 20 16
conan.cmake
in agent/native/building/cmake
917 - 15
168 9 14
basic_macros.h
in agent/native/ext
75 - 12
elastic_apm.cpp
in agent/native/ext
501 5 12
MetadataDiscoverer.php
in agent/php/ElasticApm/Impl
186 16 12
log.h
in agent/native/ext
255 5 11
util_for_PHP.cpp
in agent/native/ext
342 17 11
elastic_apm_API.cpp
in agent/native/ext
185 12 10
elastic_apm_assert.h
in agent/native/ext
140 2 10
Span.php
in agent/php/ElasticApm/Impl
392 33 10
Tracer.php
in agent/php/ElasticApm/Impl
410 41 10
supportability.cpp
in agent/native/ext
418 25 9
Hooking.cpp
in agent/native/ext
88 1 8
elastic_set_default_build_options.cmake
in agent/native/building/cmake
69 - 8
CurlAutoInstrumentation.php
in agent/php/ElasticApm/Impl/AutoInstrument
190 16 8
AutoInstrumentationUtil.php
in agent/php/ElasticApm/Impl/AutoInstrument/Util
176 18 8
AllOptionsMetadata.php
in agent/php/ElasticApm/Impl/Config
80 6 7
Transaction.php
in agent/php/ElasticApm/Impl
479 40 7
unit_test_util.h
in agent/native/ext/unit_tests
134 - 6
TextOutputStream.h
in agent/native/ext
195 18 6
InferredSpansBuilder.php
in agent/php/ElasticApm/Impl
267 12 6
InterceptionManager.php
in agent/php/ElasticApm/Impl/AutoInstrument
168 6 6
PDOAutoInstrumentation.php
in agent/php/ElasticApm/Impl/AutoInstrument
213 12 6
elastic_apm_alloc.h
in agent/native/ext
219 1 5
time_util.cpp
in agent/native/ext
240 14 5
elastic_conan_export.cmake
in agent/native/building/cmake
74 - 5
PhpBridge.cpp
in agent/native/libphpbridge/code
77 4 5
21 - 4
CommonUtils.cpp
in agent/native/libcommon/code
66 2 4
util.h
in agent/native/ext
400 38 4
util.cpp
in agent/native/ext
147 9 4
CurlHandleTracker.php
in agent/php/ElasticApm/Impl/AutoInstrument
418 23 4
InferredSpans.h
in agent/native/libcommon/code
61 5 3
backend_comm_backoff.cpp
in agent/native/ext
88 7 3
TextOutputStream.cpp
in agent/native/ext
91 7 3
elastic_apm_assert.cpp
in agent/native/ext
80 5 3
AST_util.h
in agent/native/ext
63 3 3