Benchmarks
Plugin footprint 65% 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.01MB] [CPU: ▼6.65ms] Passed 4 tests
Server-side resources used by Art Woocommerce Custom Sale
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.05 ▼3.87 |
Dashboard /wp-admin | 3.32 ▼0.02 | 48.56 ▼19.88 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 51.93 ▼2.22 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 95.81 ▼0.61 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.58 ▲4.79 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Art Woocommerce Custom Sale
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲68 | 14.24 ▼0.38 | 1.78 ▼0.25 | 41.04 ▲0.31 |
Dashboard /wp-admin | 2,195 ▲18 | 5.63 ▼0.01 | 91.06 ▼7.28 | 41.16 ▲2.79 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 1.95 ▼0.03 | 39.77 ▼0.66 | 34.94 ▼0.63 |
Add New Post /wp-admin/post-new.php | 1,528 ▼3 | 23.08 ▼0.13 | 607.82 ▼70.47 | 58.06 ▼5.30 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.21 ▼0.04 | 98.58 ▼8.30 | 44.22 ▼2.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Uninstall procedure had uncaught errors
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method AWOOS_Custom_Sale::uninstall() should not be called statically
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Screenshots: No descriptions were found for these screenshots #4, #5, #6 in art-woocommerce-custom-sale/assets to your readme.txt
art-woocommerce-custom-sale/art-woocommerce-custom-sale.php 92% from 13 tests
The entry point to "Art Woocommerce Custom Sale" version 1.1.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Requires at least: Required version does not match the one declared in readme.txt ("4.8" instead of "3.3.0")
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
Good job! No executable or dangerous file extensions detected366 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 133 | 260 | 298 |
PO File | 1 | 19 | 23 | 68 |
PHP code Passed 2 tests
An overview 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.31 |
Average class complexity | 10.67 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 1 | 5.26% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
PNG images were not found in this plugin