Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- Install procedure had errors
- > Deprecated in wp-content/plugins/kmo-slideshow/kmo-slideshow.php+14
Methods with the same name as their class will not be constructors in a future version of PHP; kmo_slideshow has a deprecated constructor
Server metrics [RAM: ▼1.93MB] [CPU: ▼58.94ms] Passed 4 tests
A check of server-side resources used by KMO Slideshow
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼1.39 | 4.16 ▼36.78 |
Dashboard /wp-admin | 2.09 ▼1.25 | 5.98 ▼57.16 |
Posts /wp-admin/edit.php | 2.09 ▼1.26 | 6.25 ▼44.11 |
Add New Post /wp-admin/post-new.php | 2.09 ▼3.79 | 5.58 ▼97.71 |
Media Library /wp-admin/upload.php | 2.09 ▼1.14 | 5.70 ▼34.50 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for KMO Slideshow
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲96 | 13.11 ▼1.32 | 5.26 ▲3.20 | 44.06 ▼2.48 |
Dashboard /wp-admin | 2,224 ▲21 | 5.88 ▲0.98 | 109.26 ▲2.70 | 36.14 ▼8.89 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▼0.05 | 35.38 ▼8.16 | 35.17 ▲2.32 |
Add New Post /wp-admin/post-new.php | 1,545 ▼0 | 23.24 ▼0.07 | 659.82 ▲40.61 | 56.38 ▲5.37 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.23 ▲0.00 | 114.53 ▲7.12 | 47.76 ▲2.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/kmo-slideshow/kmo-slideshow.php+14
Methods with the same name as their class will not be constructors in a future version of PHP; kmo_slideshow has a deprecated constructor
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, 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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/kmo-slideshow/kmo-slideshow.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: folder, jquery, slideshow, slides
kmo-slideshow/kmo-slideshow.php Passed 13 tests
The main PHP file in "KMO Slideshow" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
54 characters long description:
A plugin to display a gallery from a folder of images.
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
Good job! No executable or dangerous file extensions detected115 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 20 | 11 | 87 |
CSS | 1 | 4 | 0 | 27 |
JavaScript | 1 | 0 | 6 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 2.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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 were not PNG files found in your plugin