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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼11.15ms] Passed 4 tests
A check of server-side resources used by Bang tinh vay
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.88 ▼6.79 |
Dashboard /wp-admin | 3.32 ▼0.02 | 51.44 ▼13.35 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 46.32 ▼3.44 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 84.10 ▼21.03 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 41.14 ▲6.57 |
Laisuat Options /wp-admin/options-general.php?page=laisuat_options | 3.19 | 30.07 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Bang tinh vay
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,879 ▲93 | 13.46 ▼0.74 | 8.47 ▲6.36 | 43.69 ▼7.01 |
Dashboard /wp-admin | 2,199 ▲22 | 5.66 ▲0.04 | 97.16 ▲8.18 | 42.50 ▲6.81 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.00 ▼0.02 | 33.81 ▼8.48 | 34.38 ▼1.84 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 22.92 ▼0.09 | 651.83 ▲22.10 | 65.04 ▲16.24 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.16 ▼0.12 | 100.98 ▼7.35 | 47.62 ▼0.71 |
Laisuat Options /wp-admin/options-general.php?page=laisuat_options | 799 | 2.03 | 31.26 | 58.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=laisuat_options
- > Notice in wp-content/plugins/bang-tinh-lai-suat/laisuat.php+55
Trying to access array offset on value of type bool
SRP 50% 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
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/bang-tinh-lai-suat/form.php:70
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/bang-tinh-lai-suat/form.php:70
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots lack descriptions #1, #2 in bang-tinh-lai-suat/assets to your readme.txt
bang-tinh-lai-suat/laisuat.php 92% from 13 tests
"Bang tinh vay" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
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 ("bang-tinh-lai-suat.php" instead of "laisuat.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin209 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 13 | 12 | 111 |
JavaScript | 1 | 25 | 10 | 68 |
PO File | 1 | 19 | 34 | 27 |
CSS | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.04 |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin