Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.19MB] [CPU: ▼3.12ms] Passed 4 tests
Analyzing server-side resources used by CrossPeak OMS for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 74.40 ▲9.92 |
Dashboard /wp-admin | 3.49 ▲0.19 | 86.75 ▼19.52 |
Posts /wp-admin/edit.php | 3.60 ▲0.25 | 94.84 ▲9.24 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.22 | 153.78 ▲1.22 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 66.38 ▼3.41 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 6 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_crosspeak_pending_updates |
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by CrossPeak OMS for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲81 | 14.41 ▲0.35 | 3.57 ▼0.66 | 73.20 ▲2.88 |
Dashboard /wp-admin | 2,202 ▲17 | 5.85 ▲0.95 | 176.69 ▼18.19 | 88.21 ▲7.38 |
Posts /wp-admin/edit.php | 2,070 ▼19 | 2.03 ▲0.04 | 67.44 ▼2.28 | 74.79 ▼0.32 |
Add New Post /wp-admin/post-new.php | 1,403 ▲44 | 17.82 ▲1.02 | 989.56 ▼20.07 | 73.46 ▼10.02 |
Media Library /wp-admin/upload.php | 1,393 ▲14 | 4.25 ▲0.10 | 176.37 ▼9.64 | 96.56 ▼2.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The uninstall procedure failed, leaving 1 table in the database
- wp_crosspeak_pending_updates
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_CLI_Command' not found in wp-content/plugins/crosspeakoms/crosspeakoms-cli.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Screenshots: These screenshots lack descriptions #3, #5, #7 in crosspeakoms/assets to your readme.txt
crosspeakoms/crosspeakoms.php Passed 13 tests
The main file in "CrossPeak OMS for WooCommerce" v. 2.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
45 characters long description:
Integrates WooCommerce with CrossPeak OMS v2+
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin915 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 228 | 531 | 879 |
JavaScript | 1 | 6 | 0 | 36 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 40.67 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 113.00 |
Average method complexity | 3.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.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 | 50 | |
▷ Static methods | 1 | 2.00% |
▷ Public methods | 46 | 92.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 8.00% |
Functions | 6 | |
▷ Named functions | 1 | 16.67% |
▷ Anonymous functions | 5 | 83.33% |
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