Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.67MB] [CPU: ▼19.63ms] Passed 4 tests
Server-side resources used by Plugin Name: Spyrowebz Slider
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 38.87 ▼4.44 |
Dashboard /wp-admin | 3.34 ▼0.00 | 51.00 ▼14.03 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 53.73 ▲3.68 |
Add New Post /wp-admin/post-new.php | 3.13 ▼2.76 | 40.89 ▼59.58 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 38.75 ▼0.48 |
Add New /wp-admin/post-new.php?post_type=spyrowebzslider | 3.13 | 35.62 |
Spyrowebz Slider /wp-admin/edit.php?post_type=spyrowebzslider | 3.31 | 36.68 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Plugin Name: Spyrowebz Slider: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,845 ▲99 | 14.79 ▲0.41 | 4.64 ▲2.43 | 37.66 ▼5.10 |
Dashboard /wp-admin | 2,243 ▲66 | 5.65 ▲0.08 | 90.85 ▼11.39 | 39.48 ▼5.70 |
Posts /wp-admin/edit.php | 2,142 ▲42 | 2.06 ▲0.05 | 39.22 ▲2.08 | 36.04 ▲3.07 |
Add New Post /wp-admin/post-new.php | 1,587 ▲56 | 18.38 ▼4.92 | 635.69 ▼69.95 | 60.31 ▲4.11 |
Media Library /wp-admin/upload.php | 1,445 ▲54 | 4.21 ▼0.01 | 98.71 ▼3.16 | 45.91 ▲5.32 |
Add New /wp-admin/post-new.php?post_type=spyrowebzslider | 2,243 | 7.52 | 174.24 | 67.57 |
Spyrowebz Slider /wp-admin/edit.php?post_type=spyrowebzslider | 1,115 | 1.97 | 31.49 | 27.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- > GET request to /wp-admin/post-new.php?post_type=spyrowebzslider
- > Notice in wp-content/plugins/spyrowebz-slider/spyrowebz-slider.php+82
Undefined index: eventmeta_noncename
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
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 register_activation_hook() in wp-content/plugins/spyrowebz-slider/spyrowebz-slider.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: These screenshots lack descriptions #0, #0, #0 in spyrowebz-slider/assets to your readme.txt
- Plugin Name: Please specify the plugin name on the first line (
=== Plugin Name: Spyrowebz Slider===
) - Contributors: Plugin contributors field is missing
spyrowebz-slider/spyrowebz-slider.php Passed 13 tests
"Plugin Name: Spyrowebz Slider" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
101 characters long description:
A plugin which Create a Slider with fade animation and also display title and descriptions of slider.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin582 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 66 | 24 | 310 |
CSS | 1 | 11 | 2 | 186 |
JavaScript | 2 | 19 | 32 | 86 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
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 | 23 | |
▷ Named functions | 23 | 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/arrows.png | 2.06KB | 1.20KB | ▼ 41.86% |