Code Analysis: AMP 2.2.0

Class Rating Complexity Lines of code
AMP_Validation_Error_Taxonomy
D
543 2,472
AMP_Style_Sanitizer
D
484 2,272
AMP_Validated_URL_Post_Type
D
461 2,392
AMP_Tag_And_Attribute_Sanitizer
D
458 1,444
AMP_Validation_Manager
D
333 1,530
AMP_Theme_Support
D
272 1,300
AMP_Core_Theme_Sanitizer
D
226 1,545
AmpProject\AmpWP\Support\SupportData
D
175 594
AMP_Base_Sanitizer
D
170 411
AmpProject\AmpWP\PairedRouting
D
142 602
AMP_Img_Sanitizer
B
94 288
AmpProject\AmpWP\Admin\SiteHealth
B
91 716
AMP_Template_Customizer
B
82 471
AmpProject\AmpWP\MobileRedirection
A
75 307
AMP_Iframe_Sanitizer
A
73 220
AMP_Options_Manager
A
72 300
AMP_Video_Sanitizer
A
72 202
AmpProject\AmpWP\Infrastructure\ServiceBasedPlugin
A
69 267
AMP_Validation_Callback_Wrapper
A
66 250
AMP_Bento_Sanitizer
A
61 229
AMP_Post_Meta_Box
A
59 313
AMP_YouTube_Embed_Handler
A
58 236
AMP_Image_Dimension_Extractor
A
58 219
AmpProject\AmpWP\PluginSuppression
A
58 238
AmpProject\AmpWP\Admin\ReaderThemes
A
56 240
AmpProject\AmpWP\Validation\ScannableURLProvider
A
55 255
AMP_HTTP
A
54 232
AMP_Form_Sanitizer
A
54 196
AMP_Post_Template
A
51 212
AmpProject\AmpWP\ReaderThemeSupportFeatures
S
49 178
AMP_Core_Block_Handler
S
48 199
AmpProject\AmpWP\Infrastructure\Injector\SimpleInjector
S
48 197
AMP_Script_Sanitizer
S
47 172
AMP_Link_Sanitizer
S
45 143
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 188
AMP_Service_Worker
S
37 230
AMP_Playlist_Embed_Handler
S
35 159
AMP_Gallery_Embed_Handler
S
34 95
AMP_Meta_Sanitizer
S
34 153
AmpProject\AmpWP\DevTools\FileReflection
S
33 176
AmpProject\AmpWP\Admin\AmpPlugins
S
33 185
AmpProject\AmpWP\ReaderThemeLoader
S
32 234
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 182
AmpProject\AmpWP\Cli\TransformerCommand
S
28 121
AmpProject\AmpWP\Component\Carousel
S
27 83
AmpProject\AmpWP\BackgroundTask\MonitorCssTransientCaching
S
27 74
AmpProject\AmpWP\Cli\ValidationCommand
S
26 181
AMP_Instagram_Embed_Handler
S
26 122
AMP_Base_Embed_Handler
S
26 101
AMP_SoundCloud_Embed_Handler
S
24 106
AMP_Layout_Sanitizer
S
24 63
AmpProject\AmpWP\Admin\OnboardingWizardSubmenuPage
S
22 176
AmpProject\AmpWP\Admin\OptionsMenu
S
22 180
AmpProject\AmpWP\BackgroundTask\BackgroundTaskDeactivator
S
21 63
AmpProject\AmpWP\ValidationExemption
S
21 91
AmpProject\AmpWP\DevTools\BlockSources
S
21 55
AmpProject\AmpWP\Optimizer\Transformer\DetermineHeroImages
S
20 78
AmpProject\AmpWP\Admin\Polyfills
S
20 126
AMP_Post_Type_Support
S
19 86
AmpProject\AmpWP\Admin\SupportScreen
S
19 127
AmpProject\AmpWP\Admin\PluginActivationSiteScan
S
18 100
AmpProject\AmpWP\PairedUrl
S
18 76
AMP_Nav_Menu_Toggle_Sanitizer
S
18 78
AMP_Playbuzz_Sanitizer
S
18 57
AmpProject\AmpWP\Validation\URLValidationRESTController
S
18 200
AmpProject\AmpWP\Support\SupportCliCommand
S
18 75
AmpProject\AmpWP\PluginRegistry
S
18 59
AmpProject\AmpWP\BackgroundTask\RecurringBackgroundTask
S
18 58
AMP_TikTok_Embed_Handler
S
17 69
AmpProject\AmpWP\DevTools\CallbackReflection
S
17 61
AmpProject\AmpWP\RemoteRequest\WpHttpRemoteGetRequest
S
17 51
AmpProject\AmpWP\OptionsRESTController
S
17 192
AmpProject\AmpWP\Validation\ScannableURLsRestController
S
16 160
AmpProject\AmpWP\PairedUrlStructure\LegacyReaderUrlStructure
S
16 54
AmpProject\AmpWP\RemoteRequest\CachedRemoteGetRequest
S
16 61
AMP_Gallery_Block_Sanitizer
S
16 49
AMP_Srcset_Sanitizer
S
16 67
AMP_Editor_Blocks
S
15 59
AMP_Admin_Pointer
S
15 101
AMP_Nav_Menu_Dropdown_Sanitizer
S
15 75
AmpProject\AmpWP\Optimizer\HeroCandidateFiltering
S
15 49
AmpProject\AmpWP\DevTools\LikelyCulpritDetector
S
12 40
AmpProject\AmpWP\Validation\URLValidationCron
S
12 46
AmpProject\AmpWP\Validation\URLValidationProvider
S
12 53
AMP_Object_Sanitizer
S
11 45
AMP_Crowdsignal_Embed_Handler
S
11 28
AMP_Imgur_Embed_Handler
S
11 37
AMP_Widget_Archives
S
11 67
AmpProject\AmpWP\Support\SupportRESTController
S
11 44
AMP_Content_Sanitizer
S
10 70
AMP_Gfycat_Embed_Handler
S
10 39
AMP_Tumblr_Embed_Handler
S
9 60
AmpProject\AmpWP\Cli\OptimizerCommand
S
9 33
AMP_Widget_Categories
S
9 54
AmpProject\AmpWP\Admin\PluginActivationNotice
S
6 70
AmpProject\AmpWP\LoadingError
S
1 120

74 more item(s) not shown.