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.02MB] [CPU: ▼6.08ms] Passed 4 tests
Server-side resources used by Apithanhtoan Ty gia ngan hang
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.84 ▼0.38 |
Dashboard /wp-admin | 3.33 ▲0.03 | 45.13 ▼4.63 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.43 ▼5.90 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 88.98 ▼10.62 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.99 ▼3.16 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Apithanhtoan Ty gia ngan hang
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲56 | 14.47 ▲0.10 | 1.53 ▼0.13 | 39.97 ▼1.91 |
Dashboard /wp-admin | 2,205 ▲17 | 5.80 ▼0.10 | 96.86 ▼4.89 | 38.62 ▼1.62 |
Posts /wp-admin/edit.php | 2,094 ▲8 | 2.04 ▲0.01 | 40.20 ▲3.05 | 37.81 ▲4.14 |
Add New Post /wp-admin/post-new.php | 1,530 ▲11 | 23.37 ▲0.14 | 607.05 ▼78.94 | 67.05 ▼1.36 |
Media Library /wp-admin/upload.php | 1,390 ▲2 | 4.20 ▲0.00 | 95.00 ▼13.49 | 42.42 ▼3.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: Screenshot #1 ([iframe] shortcode) image not found
apithanhtoan-ty-gia-ngan-hang/apithanhtoan-ty-gia-ngan-hang.php Passed 13 tests
This is the main PHP file of "Apithanhtoan Ty gia ngan hang" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
99 characters long description:
[iframe src="https://apithanhtoan.com/iframe/ty-gia-ngan-hang" width="100%" height="600"] shortcode
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
No dangerous file extensions were detected142 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 18 | 12 | 130 |
JavaScript | 1 | 0 | 3 | 12 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
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 | 5 | |
▷ Named functions | 3 | 60.00% |
▷ Anonymous functions | 2 | 40.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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.09MB with 0.07MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/apithanhtoan-icon.png | 8.35KB | 0.69KB | ▼ 91.76% |
screen-plugin-apithanhtoan-ty-gia-ngan-hang.png | 86.81KB | 30.97KB | ▼ 64.33% |