Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.10MB] [CPU: ▼5.50ms] Passed 4 tests
A check of server-side resources used by Akaunting for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 45.50 ▲6.46 |
Dashboard /wp-admin | 3.41 ▲0.07 | 47.04 ▼13.80 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 46.89 ▼0.45 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 91.35 ▼9.83 |
Media Library /wp-admin/upload.php | 3.33 ▲0.11 | 34.85 ▲2.10 |
Akaunting WooCommerce /wp-admin/options-general.php?page=akaunting-woocommerce | 3.30 | 31.38 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Akaunting for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 14.74 ▲0.09 | 2.34 ▲0.57 | 40.10 ▼3.33 |
Dashboard /wp-admin | 2,207 ▲15 | 5.88 ▲0.94 | 107.63 ▲1.82 | 39.81 ▼3.07 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.05 ▲0.05 | 39.87 ▲3.62 | 35.44 ▲3.27 |
Add New Post /wp-admin/post-new.php | 1,540 ▲26 | 23.21 ▲5.67 | 628.76 ▼72.45 | 53.25 ▲0.98 |
Media Library /wp-admin/upload.php | 1,386 ▲1 | 4.19 ▼0.00 | 93.59 ▼16.60 | 42.90 ▼1.85 |
Akaunting WooCommerce /wp-admin/options-general.php?page=akaunting-woocommerce | 785 | 2.03 | 23.82 | 26.07 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 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 0% from 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
Please fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/akaunting-for-woocommerce/akaunting-woocommerce.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/akaunting-for-woocommerce/options.php:4
- > PHP Fatal error
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 Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: payments, invoices, billing, budget, bookkeeping...
akaunting-for-woocommerce/akaunting-woocommerce.php 85% from 13 tests
The primary PHP file in "Akaunting for WooCommerce" version 2.0.2 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("akaunting-for-woocommerce.php" instead of "akaunting-woocommerce.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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 plugin567 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 177 | 53 | 567 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 23.67 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 2.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 35 | |
▷ Static methods | 1 | 2.86% |
▷ Public methods | 29 | 82.86% |
▷ Protected methods | 6 | 17.14% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin