Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.95MB] [CPU: ▼32.30ms] Passed 4 tests
A check of server-side resources used by Smart Loan Calculator
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.01 | 36.37 ▼5.59 |
Dashboard /wp-admin | 3.00 ▼0.31 | 22.78 ▼26.66 |
Posts /wp-admin/edit.php | 3.00 ▼0.36 | 23.78 ▼23.08 |
Add New Post /wp-admin/post-new.php | 3.00 ▼2.89 | 22.21 ▼65.18 |
Media Library /wp-admin/upload.php | 3.00 ▼0.23 | 21.31 ▼14.29 |
Support /wp-admin/admin.php?page=SupportSLC | 3.00 | 22.12 |
Settings /wp-admin/admin.php?page=SLC_ManageSheets | 3.00 | 21.02 |
Smart Loan Calculator LITE /wp-admin/admin.php?page=MAINMENUSLC | 3.00 | 18.52 |
Get Pro /wp-admin/admin.php?page=SLC_upgrade | 3.00 | 21.73 |
Server storage [IO: ▲1.85MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 49 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Smart Loan Calculator: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,839 ▲104 | 13.21 ▼1.30 | 1.78 ▼0.15 | 37.12 ▼7.34 |
Dashboard /wp-admin | 2,245 ▲57 | 4.85 ▼1.05 | 106.25 ▼10.86 | 39.15 ▼5.36 |
Posts /wp-admin/edit.php | 2,131 ▲42 | 2.03 ▲0.02 | 39.80 ▲5.45 | 34.99 ▼0.45 |
Add New Post /wp-admin/post-new.php | 1,560 ▲46 | 23.36 ▲5.81 | 647.09 ▲3.43 | 49.81 ▼3.04 |
Media Library /wp-admin/upload.php | 1,424 ▲36 | 4.16 ▼0.07 | 98.59 ▲1.21 | 43.30 ▼0.75 |
Support /wp-admin/admin.php?page=SupportSLC | 925 | 1.77 | 25.12 | 47.72 |
Settings /wp-admin/admin.php?page=SLC_ManageSheets | 1,571 | 3.73 | 48.71 | 59.32 |
Smart Loan Calculator LITE /wp-admin/admin.php?page=MAINMENUSLC | 835 | 1.79 | 27.86 | 38.47 |
Get Pro /wp-admin/admin.php?page=SLC_upgrade | 800 | 1.76 | 26.16 | 33.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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 cannot be uninstalled
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 12 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=SLC_upgrade
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 4× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/smart-loan-calculator/APP/Admin/index.php
- > /wp-content/plugins/smart-loan-calculator/Pages/pro.php
- > /wp-content/plugins/smart-loan-calculator/Pages/activation.php
- > /wp-content/plugins/smart-loan-calculator/APP/index.php
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/smart-loan-calculator/SLC.php:31
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/smart-loan-calculator/Pages/settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/smart-loan-calculator/Pages/home.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/smart-loan-calculator/Pages/support.php:14
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=SLC_ManageSheets
- > Rendering (warning) in unknown
/wp-content/plugins/smart-loan-calculator/APP/Admin/index.php 66 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/admin.php?page=SLC_ManageSheets
- > Rendering (warning) in unknown
/wp-content/plugins/smart-loan-calculator/APP/Admin/index.php 72 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/admin.php?page=SLC_ManageSheets
- > Rendering (warning) in unknown
/wp-content/plugins/smart-loan-calculator/APP/Admin/index.php 144 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/admin.php?page=SLC_ManageSheets
- > Rendering (warning) in unknown
/wp-content/plugins/smart-loan-calculator/APP/Admin/index.php 151 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/admin.php?page=SLC_ManageSheets
- > Rendering (warning) in unknown
/wp-content/plugins/smart-loan-calculator/APP/Admin/index.php 158 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/admin.php?page=SLC_ManageSheets
- > Rendering (warning) in unknown
/wp-content/plugins/smart-loan-calculator/APP/Admin/index.php 178 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/admin.php?page=SLC_ManageSheets
- > Rendering (warning) in unknown
/wp-content/plugins/smart-loan-calculator/APP/Admin/index.php 185 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/admin.php?page=SLC_ManageSheets
- > Rendering (warning) in unknown
/wp-content/plugins/smart-loan-calculator/APP/Admin/index.php 192 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/admin.php?page=SLC_ManageSheets
- > Rendering (warning) in unknown
/wp-content/plugins/smart-loan-calculator/APP/Admin/index.php 214 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/admin.php?page=SLC_ManageSheets
- > Rendering (warning) in unknown
/wp-content/plugins/smart-loan-calculator/APP/Admin/index.php 247 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
10 plugin tags: loan amortization calculator, loan repayment calculator, loan calculator, loan payoff calculator, interest calculator...
smart-loan-calculator/SLC.php 77% from 13 tests
The main PHP script in "Smart Loan Calculator" version 1.2 is automatically included on every request by WordPress
Please take the time to fix the following:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Main file name: The principal plugin file should be the same as the plugin slug ("smart-loan-calculator.php" instead of "SLC.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 156 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin23,690 lines of code in 40 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 15 | 5,162 | 3,951 | 20,714 |
CSS | 10 | 297 | 81 | 2,402 |
PHP | 11 | 221 | 26 | 570 |
SVG | 4 | 0 | 0 | 4 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
APP/JS/date/images/ui-icons_555555_256x240.png | 6.84KB | 4.18KB | ▼ 38.84% |
APP/JS/date/images/ui-icons_444444_256x240.png | 6.84KB | 4.18KB | ▼ 38.90% |