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.02MB] [CPU: ▼9.90ms] Passed 4 tests
Server-side resources used by POV Sliders
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.20 ▼16.60 |
Dashboard /wp-admin | 3.34 ▼0.01 | 51.18 ▼19.55 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 56.14 ▲1.73 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 95.36 ▼1.29 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.70 ▼2.16 |
POV Slider /wp-admin/themes.php?page=pov_slider_featured_homepage | 3.35 | 39.68 |
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: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by POV Sliders
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.67 ▲0.46 | 1.71 ▼0.55 | 44.03 ▼11.25 |
Dashboard /wp-admin | 2,199 ▲25 | 5.68 ▲0.04 | 84.15 ▼20.16 | 38.78 ▼8.64 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.14 ▲0.14 | 41.25 ▲0.30 | 35.04 ▼0.41 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.10 ▼0.08 | 633.48 ▼54.76 | 65.91 ▲10.60 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.20 ▼0.08 | 100.17 ▼12.53 | 45.12 ▼6.15 |
POV Slider /wp-admin/themes.php?page=pov_slider_featured_homepage | 850 | 1.84 | 35.86 | 27.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/themes.php?page=pov_slider_featured_homepage
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/themes.php?page=pov_slider_featured_homepage
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/themes.php?page=pov_slider_featured_homepage
- > Notice in wp-content/plugins/pov-slider/views/homepage_slider.php+19
Undefined variable: error
- > GET request to /wp-admin/themes.php?page=pov_slider_featured_homepage
- > Notice in wp-content/plugins/pov-slider/views/homepage_slider.php+29
Undefined variable: wp_http_referer
SRP 50% from 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
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pov-slider/pov_slider.php:41
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/themes.php?page=pov_slider_featured_homepage
- > Network (severe)
wp-content/plugins/pov_slider/css/admin.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/themes.php?page=pov_slider_featured_homepage
- > Network (severe)
wp-content/plugins/pov_slider/js/admin.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not 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 to be fixed:
- Plugin Name: You should set the name of your plugin on the first line (
=== pov-slider ===
)
pov-slider/pov_slider.php 92% from 13 tests
"POV Sliders" version 1.0.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("pov-slider.php" instead of "pov_slider.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
Good job! No executable or dangerous file extensions detected439 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 41 | 1 | 200 |
PHP | 2 | 42 | 43 | 134 |
JavaScript | 1 | 6 | 0 | 62 |
Markdown | 1 | 15 | 0 | 26 |
PO File | 1 | 0 | 0 | 17 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot1.png | 49.95KB | 19.25KB | ▼ 61.46% |