Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼3.80ms] Passed 4 tests
Analyzing server-side resources used by Woo Invoices - Quotes and Invoices
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 39.88 ▼5.82 |
Dashboard /wp-admin | 3.38 ▲0.08 | 53.03 ▲4.53 |
Posts /wp-admin/edit.php | 3.43 ▲0.08 | 48.53 ▼1.91 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 84.21 ▼7.98 |
Media Library /wp-admin/upload.php | 3.30 ▲0.08 | 36.33 ▲0.52 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Woo Invoices - Quotes and Invoices
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲46 | 14.53 ▲0.18 | 1.84 ▲0.12 | 44.55 ▲3.43 |
Dashboard /wp-admin | 2,213 ▲36 | 5.58 ▲0.05 | 87.13 ▼9.04 | 39.65 ▼0.88 |
Posts /wp-admin/edit.php | 2,118 ▲15 | 2.10 ▲0.12 | 37.68 ▲2.24 | 34.60 ▲0.41 |
Add New Post /wp-admin/post-new.php | 1,554 ▲23 | 23.31 ▲0.15 | 649.37 ▼13.76 | 54.06 ▲1.69 |
Media Library /wp-admin/upload.php | 1,418 ▲21 | 4.17 ▲0.01 | 98.44 ▼10.22 | 47.96 ▲5.41 |
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
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Tags: There are too many tags (18 tag instead of maximum 10)
woo-invoices/woo-invoices.php 92% from 13 tests
The entry point to "Woo Invoices - Quotes and Invoices" version 1.2.5 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Requires at least: The required version number did not match the one declared in readme.txt ("4.0" instead of "2.7")
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
No dangerous file extensions were detected1,474 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 389 | 535 | 1,152 |
PO File | 1 | 70 | 73 | 286 |
CSS | 1 | 1 | 0 | 36 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 3.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.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 | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 94.12% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 5.88% |
Functions | 46 | |
▷ Named functions | 46 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
There were not PNG files found in your plugin