Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.18MB] [CPU: ▼9.03ms] Passed 4 tests
An overview of server-side resources used by Integration of ready2order with WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.18 | 39.13 ▼0.86 |
Dashboard /wp-admin | 3.48 ▲0.18 | 51.01 ▼2.92 |
Posts /wp-admin/edit.php | 3.59 ▲0.24 | 47.07 ▼3.01 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.18 | 82.86 ▼29.33 |
Media Library /wp-admin/upload.php | 3.40 ▲0.18 | 38.20 ▲4.60 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Integration of ready2order with WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲60 | 14.42 ▲0.18 | 2.12 ▲0.40 | 44.12 ▲6.24 |
Dashboard /wp-admin | 2,202 ▲22 | 5.64 ▼0.00 | 88.42 ▼0.36 | 43.39 ▼0.66 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.02 ▲0.00 | 35.54 ▼3.85 | 33.18 ▲0.24 |
Add New Post /wp-admin/post-new.php | 1,535 ▲2 | 23.20 ▼0.12 | 655.28 ▲54.60 | 50.99 ▼8.29 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.31 ▲0.10 | 103.84 ▲9.13 | 47.56 ▲6.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
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:
- License uri: Please fix this invalid URI: "bjorntech.se/ready2order"
wc-ready2order-integration/wc-ready2order-integration.php 92% from 13 tests
The principal PHP file in "Integration of ready2order with WooCommerce" v. 2.1.5 is loaded by WordPress automatically on each request
You should first fix the following items:
- Requires at least: The required version number must match the one declared in readme.txt ("4.9" instead of "4.0")
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
Everything looks great! No dangerous files found in this plugin4,345 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 1,386 | 474 | 4,237 |
JavaScript | 1 | 14 | 1 | 94 |
CSS | 1 | 2 | 0 | 14 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 34.63 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 131.00 |
Average method complexity | 3.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 19 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 235 | |
▷ Static methods | 89 | 37.87% |
▷ Public methods | 223 | 94.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 5.11% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 7 | |
▷ Global constants | 1 | 14.29% |
▷ Class constants | 6 | 85.71% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin