Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.64MB] [CPU: ▼18.02ms] Passed 4 tests
An overview of server-side resources used by Add Custom Codes - Insert Header, Footer, Custom Code Snippets, Custom CSS, Javascript
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 35.18 ▼3.92 |
Dashboard /wp-admin | 3.35 ▲0.05 | 46.38 ▼4.72 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 48.56 ▲2.71 |
Add New Post /wp-admin/post-new.php | 3.18 ▼2.70 | 35.98 ▼59.91 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 31.47 ▼3.54 |
Add Custom Codes /wp-admin/themes.php?page=add-custom-codes | 3.40 | 32.48 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Add Custom Codes - Insert Header, Footer, Custom Code Snippets, Custom CSS, Javascript
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲43 | 14.68 ▲0.34 | 2.15 ▲0.10 | 40.84 ▼3.49 |
Dashboard /wp-admin | 2,213 ▲33 | 6.57 ▲0.84 | 118.98 ▲30.89 | 39.96 ▼0.08 |
Posts /wp-admin/edit.php | 2,117 ▲17 | 3.35 ▲1.34 | 84.01 ▲43.26 | 37.53 ▼2.06 |
Add New Post /wp-admin/post-new.php | 6,485 ▲4,956 | 22.07 ▼1.21 | 950.51 ▲235.05 | 76.14 ▲20.01 |
Media Library /wp-admin/upload.php | 1,415 ▲21 | 5.20 ▲0.98 | 128.45 ▲26.31 | 41.78 ▼4.01 |
Add Custom Codes /wp-admin/themes.php?page=add-custom-codes | 1,151 | 3.22 | 77.73 | 48.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
8 plugin tags: javascript, google analytics, css, custom css, wordpress custom css...
add-custom-codes/add-custom-codes.php 92% from 13 tests
This is the main PHP file of "Add Custom Codes - Insert Header, Footer, Custom Code Snippets, Custom CSS, Javascript" version 4.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 234 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin486 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 79 | 71 | 326 |
CSS | 1 | 1 | 3 | 142 |
JavaScript | 1 | 7 | 0 | 18 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin