Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.97ms] Passed 4 tests
Analyzing server-side resources used by W2 Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 37.27 ▼6.30 |
Dashboard /wp-admin | 3.35 ▲0.05 | 45.22 ▼9.18 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 50.09 ▲1.42 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 93.98 ▲1.22 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.79 ▼1.61 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=waters_plugin_slider | 3.27 | 31.44 |
Add New /wp-admin/post-new.php?post_type=waters_plugin_slider | 3.40 | 52.36 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=waters_plugin_slider | 3.26 | 37.63 |
All Items /wp-admin/edit.php?post_type=waters_plugin_slider | 3.32 | 38.84 |
Server storage [IO: ▲0.01MB] [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: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
category_children |
Browser metrics Passed 4 tests
A check of browser resources used by W2 Slider
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,923 ▲166 | 13.62 ▼0.67 | 5.24 ▲3.19 | 41.05 ▼2.68 |
Dashboard /wp-admin | 2,238 ▲47 | 5.80 ▼0.08 | 98.10 ▼15.33 | 39.50 ▼7.78 |
Posts /wp-admin/edit.php | 2,124 ▲35 | 2.02 ▲0.02 | 38.91 ▲5.89 | 36.28 ▲1.20 |
Add New Post /wp-admin/post-new.php | 1,562 ▲29 | 22.99 ▼0.41 | 586.80 ▼82.99 | 58.57 ▲2.89 |
Media Library /wp-admin/upload.php | 1,420 ▲29 | 4.19 ▼0.02 | 95.91 ▼5.20 | 41.00 ▼4.44 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=waters_plugin_slider | 1,339 | 2.14 | 29.63 | 28.96 |
Add New /wp-admin/post-new.php?post_type=waters_plugin_slider | 2,381 | 7.79 | 174.70 | 67.41 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=waters_plugin_slider | 1,481 | 2.14 | 27.14 | 32.51 |
All Items /wp-admin/edit.php?post_type=waters_plugin_slider | 1,143 | 1.94 | 29.10 | 29.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- widget_theysaidso_widget
- category_children
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
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 errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/w2-slider/waterwheel.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: Screenshot #1 (This is screenshot Image1) image not found
w2-slider/waterwheel.php 85% from 13 tests
"W2 Slider" version 1.0.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("w2-slider.php" instead of "waterwheel.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected103 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 19 | 13 | 103 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.05 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.20 |
▷ 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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 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
There were not PNG files found in your plugin