Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
- Install procedure had errors
- > Parse error in wp-content/plugins/aspl-product-quotation/woocommerce_quote.php+356
syntax error, unexpected '}', expecting end of file
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.85ms] Passed 4 tests
A check of server-side resources used by ASPL Product Quotation
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.38 ▼0.50 |
Dashboard /wp-admin | 3.31 ▲0.00 | 51.86 ▲0.16 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 55.27 ▲2.91 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 89.40 ▼11.16 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.23 ▲0.11 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
ASPL Product Quotation: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.72 ▲0.11 | 1.87 ▲0.29 | 49.75 ▲7.98 |
Dashboard /wp-admin | 2,195 ▲15 | 5.60 ▼0.00 | 87.23 ▼0.85 | 42.66 ▼2.21 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.99 ▲0.01 | 38.49 ▼1.89 | 35.27 ▼0.01 |
Add New Post /wp-admin/post-new.php | 1,526 ▼5 | 23.36 ▲0.22 | 684.32 ▲8.01 | 60.94 ▼0.48 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.23 ▲0.06 | 97.06 ▼7.31 | 48.00 ▲5.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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 has failed, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please fix the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Parse error
syntax error, unexpected '}', expecting end of file in wp-content/plugins/aspl-product-quotation/woocommerce_quote.php on line 356
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/aspl-product-quotation/pop_up.php on line 101
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: Please add descriptions for these screenshots #0, #0, #0, #0, #0, #0, #0, #0 in aspl-product-quotation/assets to your readme.txt
aspl-product-quotation/woocommerce_quote.php 85% from 13 tests
"ASPL Product Quotation" version 1.1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Domain Path: The domain path is invalid: folder "/languages/" does not exist
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("aspl-product-quotation.php" instead of "woocommerce_quote.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 plugin1,304 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 238 | 49 | 1,064 |
CSS | 2 | 21 | 11 | 159 |
JavaScript | 1 | 14 | 0 | 81 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 92.31% |
▷ Protected methods | 1 | 7.69% |
▷ Private methods | 0 | 0.00% |
Functions | 25 | |
▷ Named functions | 25 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin