Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.18MB] [CPU: ▼3.24ms] Passed 4 tests
An overview of server-side resources used by Auto Quote
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 40.45 ▼4.92 |
Dashboard /wp-admin | 3.51 ▲0.20 | 52.14 ▲6.14 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 51.77 ▼3.57 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 89.78 ▼9.69 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 39.75 ▲5.22 |
Auto Quote /wp-admin/options-general.php?page=gritonl_auto_quote | 3.40 | 31.93 |
Server storage [IO: ▲0.52MB] [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: 133 new files
Database: no new tables, 39 new options
New WordPress options |
---|
gritonl_auto_quote_products |
widget_recent-comments |
gritonl_auto_quote_footer |
gritonl_auto_quote_pdowner |
gritonl_auto_quote_css |
gritonl_auto_quote_redirurl |
gritonl_auto_quote_pddays |
gritonl_auto_quote_email_subject |
gritonl_auto_quote_hsapikey |
gritonl_auto_quote_pdusers |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Auto Quote
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲73 | 13.24 ▼1.31 | 1.70 ▼0.19 | 41.11 ▼3.30 |
Dashboard /wp-admin | 2,228 ▲25 | 4.86 ▼0.03 | 104.89 ▼2.40 | 43.21 ▲4.19 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 2.01 ▼0.02 | 33.57 ▼8.18 | 35.31 ▼2.84 |
Add New Post /wp-admin/post-new.php | 1,548 ▲17 | 23.23 ▲0.43 | 672.27 ▲76.63 | 63.06 ▲11.08 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.31 ▲0.04 | 98.20 ▼9.75 | 45.43 ▼0.62 |
Auto Quote /wp-admin/options-general.php?page=gritonl_auto_quote | 1,343 | 2.03 | 26.22 | 33.36 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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 fix the following items
- 8× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/auto-quote/fpdf/tutorial/tuto6.php
- > /wp-content/plugins/auto-quote/fpdf/tutorial/tuto2.php
- > /wp-content/plugins/auto-quote/fpdf/tutorial/tuto4.php
- > /wp-content/plugins/auto-quote/fpdf/tutorial/tuto3.php
- > /wp-content/plugins/auto-quote/fpdf/tutorial/tuto5.php
- > /wp-content/plugins/auto-quote/fpdf/tutorial/tuto1.php
- > /wp-content/plugins/auto-quote/fpdf/tutorial/makefont.php
- > /wp-content/plugins/auto-quote/fpdf/tutorial/tuto7.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Warning
count(): Parameter must be an array or an object that implements Countable in wp-content/plugins/auto-quote/fpdf/makefont/ttfparser.php on line 382
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: These screenshots lack descriptions #2, #3, #4, #5, #6, #7 in auto-quote/assets to your readme.txt
- Tags: There are too many tags (17 tag instead of maximum 10)
auto-quote/auto_quote.php 92% from 13 tests
The main PHP file in "Auto Quote" ver. 1.5.2 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("auto-quote.php" instead of "auto_quote.php")
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
Good job! No executable or dangerous file extensions detected7,603 lines of code in 93 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 29 | 330 | 427 | 4,307 |
HTML | 59 | 72 | 0 | 3,236 |
CSS | 3 | 5 | 1 | 42 |
JavaScript | 2 | 0 | 0 | 18 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 57.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 338.00 |
Average method complexity | 4.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 146 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 108 | 73.97% |
▷ Protected methods | 38 | 26.03% |
▷ Private methods | 0 | 0.00% |
Functions | 32 | |
▷ Named functions | 32 | 100.00% |
▷ Anonymous functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
fpdf/tutorial/logo.png | 2.32KB | 2.26KB | ▼ 2.57% |