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.00MB] [CPU: ▼3.30ms] Passed 4 tests
Analyzing server-side resources used by Monoslideshow
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.52 ▲2.23 |
Dashboard /wp-admin | 3.31 ▲0.00 | 48.94 ▲1.95 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.18 ▲0.43 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.16 ▼17.80 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.29 ▲3.17 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
monoslideshow-height |
monoslideshow-width |
monoslideshow-preset |
monoslideshow-resize |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Monoslideshow
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.21 ▼0.15 | 1.86 ▲0.39 | 43.84 ▲3.78 |
Dashboard /wp-admin | 2,192 ▲15 | 5.54 ▼0.07 | 83.69 ▼4.28 | 38.98 ▼2.33 |
Posts /wp-admin/edit.php | 2,097 ▼0 | 2.03 ▲0.09 | 35.48 ▼1.16 | 33.78 ▼3.50 |
Add New Post /wp-admin/post-new.php | 1,526 ▼11 | 23.19 ▲5.03 | 697.88 ▲27.06 | 54.62 ▼7.83 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.28 ▲0.07 | 115.08 ▲15.62 | 46.99 ▲4.65 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
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
Please take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/monoslideshow/monoslideshow.php:83
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
9 plugin tags: customize, ios, slideshow, iphone, ipad...
monoslideshow/monoslideshow.php Passed 13 tests
Analyzing the main PHP file in "Monoslideshow" version 1.0
104 characters long description:
Monoslideshow For Wordpress replaces the standard photo gallery created in Wordpress with Monoslideshow.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin789 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
XML | 11 | 3 | 6 | 448 |
PHP | 2 | 80 | 34 | 243 |
JavaScript | 1 | 15 | 0 | 98 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 3 | 21.43% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 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
There are no PNG files in this plugin