Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼7.10ms] Passed 4 tests
An overview of server-side resources used by Seos Custom CSS
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 34.26 ▼4.47 |
Dashboard /wp-admin | 3.31 ▼0.03 | 44.25 ▼19.38 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.06 ▲2.48 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 82.16 ▼5.77 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 35.67 ▲1.23 |
Server storage [IO: ▲0.04MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Seos Custom CSS
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲74 | 14.47 ▼0.09 | 1.60 ▼0.45 | 39.08 ▼6.79 |
Dashboard /wp-admin | 2,223 ▲35 | 4.91 ▼0.97 | 104.80 ▼12.46 | 83.92 ▲39.76 |
Posts /wp-admin/edit.php | 2,106 ▲17 | 1.99 ▲0.02 | 37.80 ▲1.19 | 35.07 ▲3.43 |
Add New Post /wp-admin/post-new.php | 1,543 ▲7 | 18.18 ▼5.13 | 731.52 ▲67.55 | 55.70 ▲1.51 |
Media Library /wp-admin/upload.php | 1,408 ▲20 | 4.17 ▼0.15 | 95.28 ▼3.89 | 76.78 ▲32.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/seos-custom-css/seos-custom-css.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Screenshot #1 (Admin Panel view of submitted form data.) image missing
seos-custom-css/seos-custom-css.php Passed 13 tests
The principal PHP file in "Seos Custom CSS" v. 1.0.1 is loaded by WordPress automatically on each request
101 characters long description:
Seos Custom CSS is easy to use. Seos Custom CSS Plugin add custom CSS styling to your WordPress Site.
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 plugin152 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 12 | 0 | 68 |
PHP | 1 | 21 | 12 | 49 |
PO File | 1 | 6 | 7 | 35 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 6 | |
▷ Named functions | 6 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo.png | 11.25KB | 4.39KB | ▼ 60.99% |
images/icon.png | 1.58KB | 1.43KB | ▼ 9.69% |
screenshot-1.png | 22.29KB | 8.04KB | ▼ 63.91% |