Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.00MB] [CPU: ▼144.46ms] Passed 4 tests
Server-side resources used by Monoslideshow
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.00 | 26.17 ▲3.61 |
Dashboard /wp-admin | 3.06 ▼0.00 | 31.22 ▼7.92 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 28.60 ▼3.89 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.02 | 67.30 ▼567.45 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 22.24 ▲1.44 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 4 new options
New WordPress options |
---|
monoslideshow-width |
monoslideshow-resize |
monoslideshow-preset |
monoslideshow-height |
Browser metrics Passed 4 tests
An overview of browser requirements for Monoslideshow
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,666 ▲15 | 15.90 ▼0.12 | 8.48 ▲2.42 | 76.69 ▼2.48 |
Dashboard /wp-admin | 2,929 ▲33 | 6.10 ▼0.05 | 114.51 ▼18.10 | 166.27 ▼7.65 |
Posts /wp-admin/edit.php | 2,743 ▲3 | 3.24 ▲0.01 | 65.59 ▼1.23 | 139.66 ▲3.07 |
Add New Post /wp-admin/post-new.php | 3,735 ▲29 | 18.12 ▼0.88 | 412.64 ▼34.77 | 158.65 ▼6.25 |
Media Library /wp-admin/upload.php | 1,752 ▲6 | 5.55 ▲0.04 | 141.35 ▼3.91 | 178.73 ▼1.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > 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 | 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
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
9 plugin tags: slideshow, customize, monoslideshow, ipad, ios...
monoslideshow/monoslideshow.php Passed 13 tests
The primary PHP file in "Monoslideshow" version 1.0 is used by WordPress to initiate all plugin functionality
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 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected789 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
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.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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin