Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼9.82ms] Passed 4 tests
Analyzing server-side resources used by Very Simple WP SlideShow
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 41.94 ▼4.35 |
Dashboard /wp-admin | 3.37 ▲0.02 | 48.48 ▼18.47 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 51.66 ▲6.45 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 82.70 ▼18.32 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 37.29 ▲1.87 |
VSWP SlideShow /wp-admin/options-general.php?page=very-simple-wp-slideshow-settings | 3.28 | 31.80 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Very Simple WP SlideShow
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,891 ▲120 | 13.69 ▼1.06 | 6.01 ▲3.94 | 41.97 ▼2.55 |
Dashboard /wp-admin | 2,214 ▲26 | 4.90 ▼0.99 | 97.87 ▼23.40 | 37.81 ▼7.74 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.08 ▲0.02 | 40.10 ▲3.85 | 35.09 ▲2.80 |
Add New Post /wp-admin/post-new.php | 1,547 ▲19 | 23.12 ▲4.72 | 679.43 ▲39.47 | 61.66 ▲7.21 |
Media Library /wp-admin/upload.php | 1,396 ▲11 | 4.28 ▲0.08 | 97.11 ▼2.05 | 41.50 ▼0.41 |
VSWP SlideShow /wp-admin/options-general.php?page=very-simple-wp-slideshow-settings | 988 | 2.26 | 26.98 | 26.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=very-simple-wp-slideshow-settings
- > Notice in wp-content/plugins/very-simple-wp-slideshow/shared/vswpss-class-deserializer.php+36
Undefined variable: ouput
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The SRP test was a success
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
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
1 plugin tags: slideshow
very-simple-wp-slideshow/very-simple-wp-slideshow.php Passed 13 tests
The main PHP script in "Very Simple WP SlideShow" version 1.3 is automatically included on every request by WordPress
96 characters long description:
This is a short description of what the plugin does. It's displayed in the WordPress admin area.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected888 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 24 | 253 | 341 |
JavaScript | 2 | 7 | 28 | 287 |
CSS | 2 | 29 | 20 | 224 |
PO File | 1 | 10 | 10 | 36 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 86.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 13.33% |
Functions | 6 | |
▷ Named functions | 6 | 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