Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼5.20ms] Passed 4 tests
A check of server-side resources used by FC's Auto Loan Calculator
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 41.45 ▼0.21 |
Dashboard /wp-admin | 3.46 ▲0.16 | 49.43 ▲1.56 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 54.15 ▲2.33 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.16 | 82.52 ▼23.05 |
Media Library /wp-admin/upload.php | 3.38 ▲0.16 | 39.61 ▲0.91 |
Server storage [IO: ▲1.97MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 76 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
fcautocalc_plugin |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by FC's Auto Loan Calculator
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.25 ▼0.47 | 1.57 ▼0.16 | 43.58 ▼6.56 |
Dashboard /wp-admin | 2,192 ▲15 | 5.62 ▼0.04 | 86.03 ▼0.17 | 38.59 ▼3.20 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.94 ▼0.08 | 41.37 ▲0.18 | 36.22 ▼1.43 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 22.76 ▼0.27 | 646.53 ▼30.00 | 59.26 ▲2.53 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.19 ▲0.01 | 95.73 ▼9.29 | 45.72 ▲3.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- can_compress_scripts
- fcautocalc_plugin
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/fc-auto-loan-calculator/fc-autoloan-calculator.php:99
- > PHP Notice
Undefined variable: date_mask in wp-content/plugins/fc-auto-loan-calculator/en/calculator.gui.php on line 4
- > PHP Notice
Undefined variable: brand_name in wp-content/plugins/fc-auto-loan-calculator/en/calculator.gui.php on line 20
- > PHP Notice
Undefined variable: currency in wp-content/plugins/fc-auto-loan-calculator/en/calculator.gui.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/fc-auto-loan-calculator/en/calculator.gui.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
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 is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Donate link: Invalid URI ("")
fc-auto-loan-calculator/fc-autoloan-calculator.php 85% from 13 tests
The entry point to "FC's Auto Loan Calculator" version 1.5.4 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("fc-auto-loan-calculator.php" instead of "fc-autoloan-calculator.php")
- Description: Keep the plugin description shorter than 140 characters (currently 224 characters long)
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
Everything looks great! No dangerous files found in this plugin15,658 lines of code in 49 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 14 | 2,187 | 2,526 | 6,338 |
JSON | 14 | 0 | 0 | 3,150 |
JavaScript | 10 | 614 | 900 | 2,612 |
CSS | 8 | 436 | 140 | 2,400 |
PHP | 2 | 287 | 195 | 1,155 |
SVG | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.11MB with 0.07MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
fc-auto-loan-calculator-options.png | 108.34KB | 36.76KB | ▼ 66.07% |