Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method vegas::flush() should not be called statically
Server metrics [RAM: ▲0.04MB] [CPU: ▼8.09ms] Passed 4 tests
Server-side resources used by WP Vegas
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 40.10 ▼5.01 |
Dashboard /wp-admin | 3.34 ▲0.04 | 46.31 ▼1.58 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 43.79 ▼4.28 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 87.12 ▼21.48 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 33.18 ▲0.19 |
Add Slideshow /wp-admin/post-new.php?post_type=vegas | 3.36 | 53.55 |
View Slideshows /wp-admin/edit.php?post_type=vegas | 3.35 | 38.47 |
Server storage [IO: ▲0.03MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for WP Vegas
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,916 ▲159 | 13.59 ▼0.79 | 6.04 ▲3.76 | 43.38 ▼7.27 |
Dashboard /wp-admin | 2,230 ▲45 | 5.95 ▲0.05 | 102.36 ▲0.29 | 41.59 ▼3.83 |
Posts /wp-admin/edit.php | 2,116 ▲24 | 2.07 ▲0.08 | 33.04 ▼10.50 | 32.17 ▼2.54 |
Add New Post /wp-admin/post-new.php | 1,556 ▲28 | 23.37 ▲5.07 | 644.71 ▲39.70 | 51.43 ▼4.61 |
Media Library /wp-admin/upload.php | 1,412 ▲21 | 4.24 ▼0.01 | 104.60 ▲5.37 | 45.25 ▲2.72 |
Add Slideshow /wp-admin/post-new.php?post_type=vegas | 1,828 | 3.55 | 63.93 | 32.55 |
View Slideshows /wp-admin/edit.php?post_type=vegas | 1,266 | 3.48 | 53.52 | 27.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The plugin did not uninstall gracefully
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method vegas::flush() should not be called statically
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- 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 Passed 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
The SRP test was a success
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- > GET request to /wp-admin/post-new.php?post_type=vegas
- > Javascript (severe) in unknown
/wp-content/plugins/vegas-fullscreen-background-slider/js/img_reorder_remove.js 0:326 Uncaught TypeError: jQuery(...).live is not a function
Optimizations
Plugin configuration 93% from 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
6 plugin tags: jquery fullscreen slideshow, vegas, jquery slideshow, background slideshow, fullscreen slideshow...
vegas-fullscreen-background-slider/vegas.php 85% from 13 tests
Analyzing the main PHP file in "WP Vegas" version 2.2
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 175 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("vegas-fullscreen-background-slider.php" instead of "vegas.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
Success! There were no dangerous files found in this plugin307 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 50 | 41 | 301 |
JavaScript | 4 | 2 | 28 | 4 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 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
No PNG files were detected