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.10MB] [CPU: ▼0.40ms] Passed 4 tests
Analyzing server-side resources used by Optimize More! - CSS
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 36.05 ▼3.56 |
Dashboard /wp-admin | 3.41 ▲0.11 | 46.25 ▼3.56 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 49.22 ▲1.55 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 92.24 ▲6.96 |
Media Library /wp-admin/upload.php | 3.34 ▲0.10 | 39.12 ▲3.97 |
Optimize More! /wp-admin/admin.php?page=optimize-more-css | 3.34 | 39.85 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 44 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Optimize More! - CSS
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲84 | 14.47 ▲0.10 | 1.71 ▼0.13 | 38.06 ▼6.90 |
Dashboard /wp-admin | 2,236 ▲48 | 4.85 ▼1.05 | 106.74 ▲2.95 | 41.00 ▼6.80 |
Posts /wp-admin/edit.php | 2,119 ▲30 | 2.01 ▲0.02 | 39.39 ▲2.64 | 37.72 ▲4.21 |
Add New Post /wp-admin/post-new.php | 1,561 ▲33 | 23.33 ▲5.18 | 682.62 ▲69.45 | 61.26 ▲9.48 |
Media Library /wp-admin/upload.php | 1,412 ▲27 | 4.29 ▲0.08 | 97.11 ▼6.37 | 44.12 ▲0.40 |
Optimize More! /wp-admin/admin.php?page=optimize-more-css | 2,159 | 3.78 | 98.85 | 49.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 11× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/optimize-more-css/includes/classes/index.php
- > /wp-content/plugins/optimize-more-css/index.php
- > /wp-content/plugins/optimize-more-css/view/admin/index.php
- > /wp-content/plugins/optimize-more-css/includes/index.php
- > /wp-content/plugins/optimize-more-css/assets/index.php
- > /wp-content/plugins/optimize-more-css/view/admin/parts/index.php
- > /wp-content/plugins/optimize-more-css/includes/functions/lib/index.php
- > /wp-content/plugins/optimize-more-css/assets/js/index.php
- > /wp-content/plugins/optimize-more-css/view/admin/parts/partials/sidebar.php
- > /wp-content/plugins/optimize-more-css/assets/css/index.php
- 10× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function checked() in wp-content/plugins/optimize-more-css/view/admin/parts/partials/async/delay-css-async.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/optimize-more-css/view/admin/parts/preload.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/optimize-more-css/view/admin/parts/import-settings.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/optimize-more-css/view/admin/parts/delay.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/optimize-more-css/view/admin/settings.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function checked() in wp-content/plugins/optimize-more-css/view/admin/parts/partials/remove/remove-css.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function checked() in wp-content/plugins/optimize-more-css/view/admin/parts/partials/delay/delay-css-interaction.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/optimize-more-css/view/admin/parts/async.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/optimize-more-css/view/admin/parts/remove.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function checked() in wp-content/plugins/optimize-more-css/view/admin/parts/partials/preload/preload-css.php:4
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=optimize-more-css
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: jQuery(...).select2 is not a function" "TypeError: jQuery(...).select2 is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/optimize-more-css/assets/js/admin-settings.js?ver=6.3.1:88:44)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/admin.php?page=optimize-more-css
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: jQuery(...).select2 is not a function
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: optimize, css, performance, pagespeed, core web vitals
optimize-more-css/optimize-more-css.php 85% from 13 tests
"Optimize More! - CSS" version 1.0.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Text Domain: The text domain should only use lowercase characters and dashes
- Description: Please keep the plugin description shorter than 140 characters (currently 169 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin4,478 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 28 | 925 | 407 | 3,534 |
CSS | 2 | 117 | 16 | 775 |
JavaScript | 4 | 10 | 3 | 169 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 44.90 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 249.00 |
Average method complexity | 4.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 66.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 143 | |
▷ Static methods | 4 | 2.80% |
▷ Public methods | 126 | 88.11% |
▷ Protected methods | 15 | 10.49% |
▷ Private methods | 2 | 1.40% |
Functions | 21 | |
▷ Named functions | 21 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 36 | |
▷ Global constants | 34 | 94.44% |
▷ Class constants | 2 | 5.56% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin