Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.59MB] [CPU: ▼2.11ms] Passed 4 tests
A check of server-side resources used by Request a Quote Pro by Aavoya
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.09 ▲0.63 | 48.56 ▲9.32 |
Dashboard /wp-admin | 3.91 ▲0.61 | 51.81 ▲0.78 |
Posts /wp-admin/edit.php | 3.96 ▲0.60 | 52.66 ▲3.03 |
Add New Post /wp-admin/post-new.php | 6.43 ▲0.54 | 92.03 ▼13.19 |
Media Library /wp-admin/upload.php | 3.83 ▲0.60 | 40.79 ▲0.96 |
Server storage [IO: ▲5.44MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 547 new files
Database: no new tables, 8 new options
New WordPress options |
---|
aavoya_wraq_random_key |
theysaidso_admin_options |
widget_recent-comments |
aavoya_wraq_global_settings |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Request a Quote Pro by Aavoya
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲66 | 13.29 ▼1.35 | 3.07 ▲1.25 | 60.22 ▲16.35 |
Dashboard /wp-admin | 2,218 ▲29 | 4.86 ▼1.00 | 106.78 ▼7.21 | 45.82 ▲3.95 |
Posts /wp-admin/edit.php | 2,101 ▲9 | 2.04 ▲0.03 | 36.66 ▼5.73 | 34.47 ▼4.70 |
Add New Post /wp-admin/post-new.php | 1,543 ▲15 | 23.17 ▲4.81 | 666.53 ▲44.07 | 52.31 ▲0.51 |
Media Library /wp-admin/upload.php | 1,403 ▲12 | 4.17 ▼0.04 | 100.56 ▼1.28 | 47.18 ▲5.51 |
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 did not uninstall successfully, leaving 8 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- aavoya_wraq_random_key
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- aavoya_wraq_global_settings
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 67× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\VarDumper\\Cloner\\ClonerInterface' not found in wp-content/plugins/request-a-quote-pro-by-aavoya/vendor/symfony/var-dumper/Cloner/AbstractCloner.php:22
- > PHP Fatal error
Uncaught Error: Class 'Tiptap\\Core\ode' not found in wp-content/plugins/request-a-quote-pro-by-aavoya/vendor/ueberdosis/tiptap-php/src/Nodes/OrderedList.php:8
- > PHP Fatal error
Uncaught Error: Class 'Tiptap\odes\\TableCell' not found in wp-content/plugins/request-a-quote-pro-by-aavoya/vendor/ueberdosis/tiptap-php/src/Nodes/TableHeader.php:7
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\VarDumper\\Command\\Descriptor\\DumpDescriptorInterface' not found in wp-content/plugins/request-a-quote-pro-by-aavoya/vendor/symfony/var-dumper/Command/Descriptor/CliDescriptor.php:27
- > PHP Fatal error
Uncaught Error: Class 'Tiptap\\Core\\Mark' not found in wp-content/plugins/request-a-quote-pro-by-aavoya/vendor/ueberdosis/tiptap-php/src/Marks/Link.php:8
- > PHP Fatal error
Uncaught Error: Class 'Tiptap\\Core\ode' not found in wp-content/plugins/request-a-quote-pro-by-aavoya/vendor/ueberdosis/tiptap-php/src/Nodes/Heading.php:8
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\VarDumper\\Caster\\ConstStub' not found in wp-content/plugins/request-a-quote-pro-by-aavoya/vendor/symfony/var-dumper/Caster/LinkStub.php:19
- > PHP Fatal error
Uncaught Error: Class 'Tiptap\\Core\\Mark' not found in wp-content/plugins/request-a-quote-pro-by-aavoya/vendor/ueberdosis/tiptap-php/src/Marks/Subscript.php:8
- > PHP Fatal error
Uncaught Error: Class 'Tiptap\\Core\ode' not found in wp-content/plugins/request-a-quote-pro-by-aavoya/vendor/ueberdosis/tiptap-php/src/Nodes/Paragraph.php:8
- > PHP Fatal error
Uncaught Error: Class 'Tiptap\\Core\\Extension' not found in wp-content/plugins/request-a-quote-pro-by-aavoya/vendor/ueberdosis/tiptap-php/src/Core/Mark.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: Add images for these screenshots: #1 (Form Page), #2 (Form Notification(Email) Setting - User), #3 (Form Notification(Email) Setting - Admin), #4 (Submitted form(quote) Entries), #5 (Form Setting Page), #6 (Request a Quote Button Setting), #7 (Assigning button to WooCommerce Products), #8 (Assigning button to WooCommerce Category), #9 (Help/FAQ)
- Tags: You are using too many tags: 19 tag instead of maximum 10
request-a-quote-pro-by-aavoya/request-a-quote-pro-by-aavoya.php Passed 13 tests
The primary PHP file in "Request a Quote Pro by Aavoya" version 2022.11 is used by WordPress to initiate all plugin functionality
126 characters long description:
Add Request a quote button on single products or on Product Categories or Product tags. Comes with Drag and Drop Form builder.
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
These items require your attention
- You should never include executable (binary) or otherwise dangerous files in your plugin
- .bat - Batch File in Windows
- ☣ wp-content/plugins/request-a-quote-pro-by-aavoya/vendor/bin/var-dump-server.bat
- .bat - Batch File in Windows
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 199 | 0 | 0 | 28,741 |
PHP | 211 | 3,342 | 4,323 | 18,379 |
CSS | 94 | 1,315 | 699 | 6,314 |
Markdown | 13 | 401 | 0 | 1,101 |
JavaScript | 5 | 32 | 8 | 176 |
XML | 1 | 0 | 0 | 16 |
DOS Batch | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 13.48 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 166.00 |
Average method complexity | 3.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 73.00 |
Code structure | ||
---|---|---|
Namespaces | 35 | |
Interfaces | 6 | |
Traits | 2 | |
Classes | 178 | |
▷ Abstract classes | 5 | 2.81% |
▷ Concrete classes | 173 | 97.19% |
▷ Final classes | 15 | 8.67% |
Methods | 788 | |
▷ Static methods | 387 | 49.11% |
▷ Public methods | 646 | 81.98% |
▷ Protected methods | 24 | 3.05% |
▷ Private methods | 118 | 14.97% |
Functions | 140 | |
▷ Named functions | 99 | 70.71% |
▷ Anonymous functions | 41 | 29.29% |
Constants | 84 | |
▷ Global constants | 15 | 17.86% |
▷ Class constants | 69 | 82.14% |
▷ Public constants | 41 | 59.42% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
11 PNG files occupy 1.34MB with 0.75MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/dist/image/help2-2.png | 209.07KB | 72.67KB | ▼ 65.24% |
assets/dist/image/help4-2.png | 140.11KB | 60.00KB | ▼ 57.18% |
vendor/scrivo/highlight.php/styles/brown-papersq.png | 17.77KB | 9.92KB | ▼ 44.16% |
assets/dist/image/help4-1.png | 166.48KB | 67.62KB | ▼ 59.38% |
assets/dist/image/help1-2.png | 128.38KB | 56.65KB | ▼ 55.87% |