Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- The plugin cannot be installed
- > Notice in wp-content/plugins/mos-speed-up/mos-speed-up-functions.php+68
Trying to access array offset on value of type bool
Server metrics [RAM: ▼0.17MB] [CPU: ▼21.25ms] Passed 4 tests
Analyzing server-side resources used by Mos Speed up
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 29.45 ▼14.60 |
Dashboard /wp-admin | 3.15 ▼0.16 | 31.18 ▼21.92 |
Posts /wp-admin/edit.php | 3.28 ▼0.07 | 34.18 ▼18.47 |
Add New Post /wp-admin/post-new.php | 5.45 ▼0.43 | 73.24 ▼30.02 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 26.52 ▼9.23 |
Mos Speed up /wp-admin/options-general.php?page=mos_speed_up_settings | 3.15 | 27.24 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
mos_speed_up_options |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Mos Speed up
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,883 ▲137 | 14.04 ▼0.62 | 5.95 ▲4.12 | 41.96 ▼4.00 |
Dashboard /wp-admin | 2,210 ▲22 | 5.81 ▲0.93 | 98.05 ▼23.67 | 37.09 ▼7.99 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▼0.03 | 34.46 ▼1.42 | 35.00 ▲0.33 |
Add New Post /wp-admin/post-new.php | 1,545 ▲31 | 18.33 ▲0.61 | 599.64 ▼77.26 | 62.37 ▲10.72 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.23 ▼0.04 | 101.82 ▼2.81 | 47.62 ▲1.25 |
Mos Speed up /wp-admin/options-general.php?page=mos_speed_up_settings | 987 | 1.68 | 24.03 | 29.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- mos_speed_up_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- 25 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=mos_speed_up_settings
- > Notice in wp-content/plugins/mos-speed-up/mos-speed-up-functions.php+51
Undefined index: query_except
SRP 50% from 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 following issues need your attention
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/mos-speed-up/mos-speed-up-functions.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mos-speed-up/mos-speed-up-settings.php:45
- > PHP Fatal error
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
9 plugin tags: improve your scores, wordpress site speed up, gtmetrix rating up, remove query strings from static resources, defer js...
mos-speed-up/mos-speed-up.php Passed 13 tests
Analyzing the main PHP file in "Mos Speed up" version 1.0.2
98 characters long description:
Increases the speed of your site to improve your scores in Pingdom, GTmetrix, PageSpeed and YSlow.
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 plugin450 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 29 | 27 | 326 |
JavaScript | 3 | 7 | 2 | 88 |
CSS | 1 | 1 | 10 | 36 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 26 | |
▷ Named functions | 26 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
No PNG files were detected