Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.32ms] Passed 4 tests
This is a short check of server-side resources used by Octoboard - WooCommerce Analytics
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.85 ▼7.74 |
Dashboard /wp-admin | 3.31 ▲0.01 | 47.63 ▼2.01 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.85 ▼1.48 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 101.80 ▲1.94 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.04 ▲9.40 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Octoboard - WooCommerce Analytics
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.57 ▼1.05 | 1.72 ▼0.12 | 42.32 ▲0.83 |
Dashboard /wp-admin | 2,209 ▲18 | 5.89 ▲0.07 | 107.88 ▲2.70 | 42.34 ▼0.35 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 2.01 ▲0.01 | 36.48 ▼6.01 | 33.18 ▼2.18 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.45 ▲0.13 | 658.38 ▲42.62 | 62.01 ▲11.30 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.27 ▲0.10 | 100.34 ▼13.77 | 45.25 ▲1.69 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
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)
Everything seems fine, however 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
Please fix the following
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WC_Integration' not found in wp-content/plugins/octoboard/includes/integration.php:6
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/octoboard/includes/render_footer_tracking_events.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/octoboard/includes/settings.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 37 tag instead of maximum 10
octoboard/octoboard-woocommerce-integration.php 92% from 13 tests
The principal PHP file in "Octoboard - WooCommerce Analytics" v. 2.0.1 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("octoboard.php" instead of "octoboard-woocommerce-integration.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin625 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 97 | 90 | 621 |
Markdown | 1 | 1 | 0 | 3 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 48.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 94.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 47 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 43 | 91.49% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 8.51% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
No PNG images were found in this plugin