Code Analysis: AMP 2.5.4

Class Rating Complexity Lines of code
AMP_Validation_Error_Taxonomy
D
544 2,478
AMP_Style_Sanitizer
D
486 2,277
AMP_Tag_And_Attribute_Sanitizer
D
462 1,477
AMP_Validated_URL_Post_Type
D
460 2,400
AMP_Validation_Manager
D
335 1,526
AMP_Theme_Support
D
272 1,289
AMP_Core_Theme_Sanitizer
D
248 1,817
AmpProject\AmpWP\Support\SupportData
D
174 596
AMP_Base_Sanitizer
D
170 411
AmpProject\AmpWP\PairedRouting
D
142 602
AMP_Img_Sanitizer
C
108 349
AMP_Template_Customizer
B
79 449
AmpProject\AmpWP\MobileRedirection
A
74 297
AMP_Iframe_Sanitizer
A
73 220
AMP_Video_Sanitizer
A
72 202
AMP_Options_Manager
A
71 298
AmpProject\AmpWP\Infrastructure\ServiceBasedPlugin
A
69 267
AMP_Validation_Callback_Wrapper
A
69 266
AmpProject\AmpWP\ReaderThemeSupportFeatures
A
68 243
AMP_Core_Block_Handler
A
64 321
AMP_YouTube_Embed_Handler
A
63 252
AmpProject\AmpWP\PluginSuppression
A
61 256
AMP_Post_Meta_Box
A
58 309
AMP_Form_Sanitizer
A
58 207
AmpProject\AmpWP\Admin\SiteHealth
A
58 521
AMP_Image_Dimension_Extractor
A
57 219
AMP_Bento_Sanitizer
A
57 218
AMP_HTTP
A
56 237
AmpProject\AmpWP\Admin\ReaderThemes
A
56 240
AmpProject\AmpWP\Validation\ScannableURLProvider
A
55 254
AMP_Post_Template
A
51 212
AMP_Link_Sanitizer
S
47 147
AMP_Script_Sanitizer
S
47 170
AmpProject\AmpWP\Infrastructure\Injector\SimpleInjector
S
45 185
AMP_DOM_Utils
S
42 166
AMP_Audio_Sanitizer
S
41 124
AMP_Twitter_Embed_Handler
S
41 135
AmpProject\AmpWP\DevTools\ErrorPage
S
39 307
AMP_Facebook_Embed_Handler
S
38 138
AMP_Comments_Sanitizer
S
37 187
AMP_Service_Worker
S
37 230
AMP_Gallery_Embed_Handler
S
35 98
AMP_Playlist_Embed_Handler
S
35 159
AmpProject\AmpWP\DevTools\FileReflection
S
33 176
AMP_Meta_Sanitizer
S
33 147
AmpProject\AmpWP\Admin\AmpPlugins
S
33 185
AmpProject\AmpWP\ReaderThemeLoader
S
32 234
AmpProject\AmpWP\BackgroundTask\MonitorCssTransientCaching
S
32 98
AmpProject\AmpWP\Sandboxing
S
31 145
AMP_Block_Sanitizer
S
29 100
AmpProject\AmpWP\Admin\AmpThemes
S
29 140
AmpProject\AmpWP\Admin\PairedBrowsing
S
29 180
AmpProject\AmpWP\Cli\TransformerCommand
S
28 121
AmpProject\AmpWP\Component\Carousel
S
27 83
AmpProject\AmpWP\Cli\OptionCommand
S
26 134
AmpProject\AmpWP\Cli\ValidationCommand
S
26 181
AMP_Instagram_Embed_Handler
S
26 122
AMP_Base_Embed_Handler
S
26 101
AmpProject\AmpWP\DevTools\CallbackReflection
S
25 84
AmpProject\AmpWP\Admin\AfterActivationSiteScan
S
24 126
AmpProject\AmpWP\Admin\OptionsMenu
S
24 197
AMP_SoundCloud_Embed_Handler
S
24 106
AMP_Layout_Sanitizer
S
24 63
AmpProject\AmpWP\Admin\OnboardingWizardSubmenuPage
S
22 176
AmpProject\AmpWP\ValidationExemption
S
21 91
AmpProject\AmpWP\BackgroundTask\BackgroundTaskDeactivator
S
21 63
AmpProject\AmpWP\DevTools\BlockSources
S
20 52
AmpProject\AmpWP\Optimizer\Transformer\DetermineHeroImages
S
20 78
AMP_Post_Type_Support
S
19 81
AmpProject\AmpWP\Support\SupportCliCommand
S
18 75
AmpProject\AmpWP\Validation\URLValidationRESTController
S
18 200
AmpProject\AmpWP\PairedUrl
S
18 76
AmpProject\AmpWP\PluginRegistry
S
18 59
AMP_Nav_Menu_Toggle_Sanitizer
S
18 78
AmpProject\AmpWP\Admin\Polyfills
S
18 118
AMP_Playbuzz_Sanitizer
S
18 57
AmpProject\AmpWP\BackgroundTask\RecurringBackgroundTask
S
18 58
AmpProject\AmpWP\Validation\ScannableURLsRestController
S
17 165
AmpProject\AmpWP\Admin\SupportScreen
S
17 122
AmpProject\AmpWP\OptionsRESTController
S
17 196
AMP_TikTok_Embed_Handler
S
17 69
AmpProject\AmpWP\RemoteRequest\WpHttpRemoteGetRequest
S
16 49
AMP_Srcset_Sanitizer
S
16 67
AmpProject\AmpWP\PairedUrlStructure\LegacyReaderUrlStructure
S
16 54
AMP_Gallery_Block_Sanitizer
S
16 46
AMP_Editor_Blocks
S
15 59
AMP_Admin_Pointer
S
15 101
AmpProject\AmpWP\RemoteRequest\CachedRemoteGetRequest
S
15 57
AMP_Nav_Menu_Dropdown_Sanitizer
S
15 75
AmpProject\AmpWP\Optimizer\HeroCandidateFiltering
S
15 49
AMP_WordPress_Embed_Handler
S
14 56
AmpProject\AmpWP\DevTools\LikelyCulpritDetector
S
12 40
AmpProject\AmpWP\Validation\URLValidationProvider
S
12 53
AmpProject\AmpWP\Validation\URLValidationCron
S
12 46
AMP_Imgur_Embed_Handler
S
11 37
AMP_Widget_Archives
S
11 67
AMP_Object_Sanitizer
S
11 45
AMP_Crowdsignal_Embed_Handler
S
11 28
AmpProject\AmpWP\Support\SupportRESTController
S
11 44
AMP_Content_Sanitizer
S
10 70
AmpProject\AmpWP\Cli\OptimizerCommand
S
9 33
AMP_Accessibility_Sanitizer
S
9 101
AMP_Native_Img_Attributes_Sanitizer
S
9 37
AMP_GTag_Script_Sanitizer
S
9 32
AMP_Tumblr_Embed_Handler
S
9 60
AMP_Widget_Categories
S
9 54
AMP_PWA_Script_Sanitizer
S
7 14
AmpProject\AmpWP\Admin\PluginActivationNotice
S
6 70
AmpProject\AmpWP\LoadingError
S
1 120

74 more item(s) not shown.