Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.12MB] [CPU: ▼8.56ms] Passed 4 tests
An overview of server-side resources used by Finance Calculator
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 38.34 ▲2.89 |
Dashboard /wp-admin | 3.43 ▲0.09 | 46.11 ▼13.68 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 43.70 ▼6.98 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 86.70 ▼13.96 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 35.00 ▲0.38 |
Finance Calculator /wp-admin/options-general.php?page=wpfcs | 3.32 | 31.37 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 12 new options
New WordPress options |
---|
widget_recent-posts |
wpfc_application_email |
wpfcs_loan_options |
theysaidso_admin_options |
wpfc_currency_symbol |
wpfc_currency |
db_upgraded |
can_compress_scripts |
wpfc_finance_rate |
wpfc_show_application |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Finance Calculator
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲49 | 14.35 ▼0.03 | 1.81 ▲0.23 | 38.89 ▼5.84 |
Dashboard /wp-admin | 2,201 ▲20 | 5.54 ▼0.13 | 86.61 ▼43.82 | 37.88 ▼13.55 |
Posts /wp-admin/edit.php | 2,106 ▲3 | 2.02 ▲0.03 | 35.45 ▼4.43 | 29.64 ▼7.71 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 22.84 ▼1.06 | 597.31 ▼106.45 | 56.18 ▼2.76 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.18 ▼0.05 | 100.84 ▼0.34 | 43.75 ▼2.12 |
Finance Calculator /wp-admin/options-general.php?page=wpfcs | 1,092 | 1.99 | 22.43 | 63.98 |
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
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% 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
Attributes that require attention:
- Screenshots: Please add images for these screenshots: #1 (Front-end form), #2 (Front-end form), #3 (Plugin settings)
finance-calculator-with-application-form/finance-calculator-with-aplication-form.php 92% from 13 tests
The main PHP file in "Finance Calculator" ver. 2.1.9 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("finance-calculator-with-application-form.php" instead of "finance-calculator-with-aplication-form.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
Success! There were no dangerous files found in this plugin739 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 78 | 29 | 571 |
JavaScript | 1 | 29 | 138 | 118 |
CSS | 2 | 2 | 3 | 50 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
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 | 8 | |
▷ Named functions | 8 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.10MB with 0.03MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-4.png | 56.57KB | 46.00KB | ▼ 18.70% |
screenshot-1.png | 21.94KB | 15.80KB | ▼ 27.98% |
screenshot-3.png | 15.56KB | 11.50KB | ▼ 26.06% |
screenshot-2.png | 12.48KB | 9.33KB | ▼ 25.25% |