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.01MB] [CPU: ▼1.20ms] Passed 4 tests
A check of server-side resources used by Quipu for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.45 ▼1.84 |
Dashboard /wp-admin | 3.32 ▲0.01 | 44.25 ▼6.19 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.23 ▲1.94 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 93.12 ▲9.54 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.28 ▲1.30 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Quipu for WooCommerce: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲71 | 14.40 ▲0.03 | 1.81 ▼0.58 | 43.83 ▼6.38 |
Dashboard /wp-admin | 2,212 ▲27 | 4.85 ▼1.05 | 111.64 ▲5.95 | 40.51 ▼4.52 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.01 ▼0.03 | 41.03 ▲2.43 | 36.10 ▼0.90 |
Add New Post /wp-admin/post-new.php | 1,548 ▲6 | 18.68 ▲0.50 | 594.92 ▼2.23 | 55.37 ▲2.60 |
Media Library /wp-admin/upload.php | 1,397 ▲12 | 4.22 ▼0.01 | 96.48 ▼6.76 | 42.32 ▼2.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
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
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
The following issues need your attention
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WC_Integration' not found in wp-content/plugins/quipu-accounting-for-woocommerce/includes/class-wc-quipu-integration.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/quipu-accounting-for-woocommerce/woocommerce-quipu.php:40
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== quipu-accounting-for-woocommerce ===
)
quipu-accounting-for-woocommerce/woocommerce-quipu.php 92% from 13 tests
The entry point to "Quipu for WooCommerce" version 1.0 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("quipu-accounting-for-woocommerce.php" instead of "woocommerce-quipu.php")
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
No dangerous file extensions were detected1,202 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 269 | 362 | 947 |
PO File | 1 | 38 | 69 | 178 |
Markdown | 1 | 21 | 0 | 53 |
JavaScript | 1 | 6 | 4 | 21 |
CSS | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 13.12 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 1 | 12.50% |
▷ Concrete classes | 7 | 87.50% |
▷ Final classes | 0 | 0.00% |
Methods | 62 | |
▷ Static methods | 1 | 1.61% |
▷ Public methods | 42 | 67.74% |
▷ Protected methods | 7 | 11.29% |
▷ Private methods | 13 | 20.97% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 1 | 33.33% |
▷ Class constants | 2 | 66.67% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin