Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼10.92ms] Passed 4 tests
A check of server-side resources used by VP Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 36.06 ▼5.73 |
Dashboard /wp-admin | 3.35 ▲0.00 | 43.05 ▼23.59 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 48.35 ▲2.59 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 87.43 ▼14.66 |
Media Library /wp-admin/upload.php | 3.28 ▲0.04 | 35.65 ▲0.31 |
VP Slider /wp-admin/edit.php?post_type=vp_iatcs | 3.32 | 36.95 |
Add New /wp-admin/post-new.php?post_type=vp_iatcs | 3.36 | 48.00 |
VP Category /wp-admin/edit-tags.php?taxonomy=vp_iatcs_category&post_type=vp_iatcs | 3.27 | 33.40 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by VP Slider
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,931 ▲160 | 13.65 ▼0.97 | 7.98 ▲5.84 | 37.59 ▼6.34 |
Dashboard /wp-admin | 2,243 ▲55 | 5.82 ▼0.25 | 101.10 ▼10.08 | 40.52 ▼3.50 |
Posts /wp-admin/edit.php | 2,126 ▲37 | 2.05 ▲0.02 | 39.59 ▲1.60 | 35.08 ▼0.10 |
Add New Post /wp-admin/post-new.php | 1,546 ▲17 | 23.11 ▼0.21 | 646.34 ▼24.32 | 59.72 ▲7.23 |
Media Library /wp-admin/upload.php | 1,425 ▲34 | 4.23 ▼0.00 | 107.32 ▲6.51 | 46.77 ▲1.56 |
VP Slider /wp-admin/edit.php?post_type=vp_iatcs | 1,107 | 1.98 | 31.69 | 30.08 |
Add New /wp-admin/post-new.php?post_type=vp_iatcs | 1,888 | 3.76 | 62.52 | 36.64 |
VP Category /wp-admin/edit-tags.php?taxonomy=vp_iatcs_category&post_type=vp_iatcs | 1,296 | 2.30 | 27.43 | 29.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/vp-slider/VP_function.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/vp-slider/js/functions.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Contributors: Contributors not specified
vp-slider/VP_function.php 92% from 13 tests
The primary PHP file in "VP Slider" version 1.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("vp-slider.php" instead of "VP_function.php")
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
Success! There were no dangerous files found in this plugin1,613 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 207 | 17 | 1,288 |
PHP | 2 | 46 | 15 | 207 |
CSS | 2 | 14 | 18 | 118 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.04 |
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 | 9 | |
▷ Named functions | 9 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin