Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼0.02MB] [CPU: ▼299.54ms] Passed 4 tests
This is a short check of server-side resources used by Aavoya Request a Quote
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.01 | 56.65 ▲5.59 |
Dashboard /wp-admin | 3.41 ▲0.01 | 32.76 ▼2.24 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 38.49 ▼1.16 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 114.36 ▼1,191.11 |
Media Library /wp-admin/upload.php | 3.30 ▼0.00 | 25.62 ▼3.65 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Aavoya Request a Quote
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,809 ▲55 | 15.92 ▼0.04 | 5.88 ▼0.02 | 2.78 ▼0.10 |
Dashboard /wp-admin | 2,909 ▲48 | 6.15 ▼0.01 | 119.02 ▼17.05 | 160.80 ▼2.03 |
Posts /wp-admin/edit.php | 2,706 ▲18 | 3.24 ▲0.00 | 65.05 ▼1.52 | 147.20 ▲3.84 |
Add New Post /wp-admin/post-new.php | 1,679 ▲18 | 20.87 ▼0.99 | 485.59 ▲70.77 | 193.89 ▲40.11 |
Media Library /wp-admin/upload.php | 1,712 ▲17 | 5.55 ▲0.01 | 144.00 ▲5.45 | 202.41 ▲9.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled completely, with no zombie files or tables
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: popup, request a quote, woocommerce, product, button...
aavoya-request-a-quote/aavoya-woocommerce-request-a-quote.php 85% from 13 tests
The entry point to "Aavoya Request a Quote" version 2021.12 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("aavoya-request-a-quote.php" instead of "aavoya-woocommerce-request-a-quote.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected978 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 394 | 474 | 974 |
CSS | 2 | 2 | 2 | 2 |
JavaScript | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 9.60 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 3.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 29 | |
▷ Named functions | 28 | 96.55% |
▷ Anonymous functions | 1 | 3.45% |
Constants | 6 | |
▷ Global constants | 6 | 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
No PNG files were detected