Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼10.80ms] Passed 4 tests
Server-side resources used by WPBatch Gallery Slideshow
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 34.77 ▼9.44 |
Dashboard /wp-admin | 3.34 ▼0.01 | 49.65 ▼16.65 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 50.78 ▼1.01 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 86.07 ▼16.09 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.66 ▲3.86 |
Add New /wp-admin/post-new.php?post_type=wpbatch_gallery | 3.38 | 45.14 |
All Gallery Images /wp-admin/edit.php?post_type=wpbatch_gallery | 3.30 | 34.98 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
WPBatch Gallery Slideshow: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,945 ▲199 | 13.56 ▼1.19 | 5.91 ▲3.89 | 37.53 ▼6.71 |
Dashboard /wp-admin | 2,233 ▲45 | 4.89 ▲0.00 | 105.15 ▼10.02 | 39.38 ▼5.94 |
Posts /wp-admin/edit.php | 2,116 ▲24 | 2.05 ▲0.00 | 37.49 ▲0.44 | 32.56 ▼0.88 |
Add New Post /wp-admin/post-new.php | 1,556 ▲28 | 23.20 ▲5.01 | 628.92 ▲13.03 | 50.90 ▼4.52 |
Media Library /wp-admin/upload.php | 1,415 ▲30 | 4.20 ▼0.03 | 94.67 ▼7.97 | 41.13 ▼2.85 |
Add New /wp-admin/post-new.php?post_type=wpbatch_gallery | 2,175 | 7.58 | 183.74 | 62.46 |
All Gallery Images /wp-admin/edit.php?post_type=wpbatch_gallery | 1,089 | 1.97 | 29.35 | 29.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Almost there! Just fix the following items
- 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/wpbatch-gallery-slideshow/index.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== wpbatch-gallery-slideshow ===
) - Contributors: The plugin contributors field is missing
wpbatch-gallery-slideshow/index.php 92% from 13 tests
The main file in "WPBatch Gallery Slideshow" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("wpbatch-gallery-slideshow.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin78 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 17 | 8 | 67 |
CSS | 3 | 0 | 16 | 10 |
JavaScript | 1 | 0 | 8 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
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 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin