Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▼0.16MB] [CPU: ▼13.68ms] Passed 4 tests
Analyzing server-side resources used by Post Magic Slider
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.04 | 48.55 ▲6.65 |
Dashboard /wp-admin | 3.39 ▲0.00 | 50.64 ▼15.61 |
Posts /wp-admin/edit.php | 3.50 ▲0.10 | 51.64 ▼7.11 |
Add New Post /wp-admin/post-new.php | 5.22 ▼0.71 | 68.64 ▼35.18 |
Media Library /wp-admin/upload.php | 3.31 ▲0.04 | 38.35 ▲3.17 |
Post Magic Slider /wp-admin/options-general.php?page=magic-slider | 3.25 | 29.88 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Post Magic Slider
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.37 ▲0.09 | 1.55 ▼0.06 | 39.03 ▼2.93 |
Dashboard /wp-admin | 2,199 ▲19 | 5.59 ▼0.02 | 91.95 ▲0.75 | 42.51 ▼0.54 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.98 ▲0.01 | 40.43 ▲4.00 | 37.33 ▲1.38 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.05 ▲0.01 | 606.78 ▼57.52 | 52.61 ▼10.00 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.18 ▼0.08 | 97.30 ▼10.34 | 42.99 ▼7.97 |
Post Magic Slider /wp-admin/options-general.php?page=magic-slider | 952 | 2.02 | 23.65 | 27.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
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
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=magic-slider
- > Notice in wp-content/plugins/post-magic-slider/post-magic-slider.php+46
Trying to access array offset on value of type bool
- > GET request to /wp-admin/options-general.php?page=magic-slider
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=magic-slider
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% 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
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/post-magic-slider/post-magic-slider.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Screenshots: A description for screenshot #3 is required in post-magic-slider/assets to your readme.txt
post-magic-slider/post-magic-slider.php Passed 13 tests
The primary PHP file in "Post Magic Slider" version 1.3 is used by WordPress to initiate all plugin functionality
32 characters long description:
Add flexslider to any post type.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin626 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 17 | 52 | 318 |
PHP | 2 | 67 | 40 | 288 |
SVG | 1 | 0 | 0 | 19 |
JavaScript | 1 | 0 | 4 | 1 |
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 problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
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 | 10 | |
▷ Named functions | 10 | 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/bg_play_pause.png | 1.51KB | 0.52KB | ▼ 65.52% |