Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.09MB] [CPU: ▼7.34ms] Passed 4 tests
An overview of server-side resources used by Casso - Tự động xác nhận thanh toán chuyển khoản ngân hàng
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 41.41 ▼0.18 |
Dashboard /wp-admin | 3.40 ▲0.06 | 52.99 ▼10.84 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 49.03 ▼4.11 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 90.91 ▼14.23 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 37.72 ▲0.29 |
Server storage [IO: ▲0.32MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 33 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Casso - Tự động xác nhận thanh toán chuyển khoản ngân hàng
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲59 | 13.16 ▼1.43 | 1.85 ▼0.09 | 47.50 ▲4.89 |
Dashboard /wp-admin | 2,211 ▲23 | 4.86 ▼1.03 | 107.76 ▲0.91 | 38.12 ▼3.99 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.00 ▼0.00 | 40.76 ▲0.32 | 37.80 ▲1.74 |
Add New Post /wp-admin/post-new.php | 1,519 ▼9 | 23.45 ▲0.41 | 683.87 ▲59.86 | 61.81 ▲2.76 |
Media Library /wp-admin/upload.php | 1,393 ▲2 | 4.20 ▲0.00 | 102.78 ▼0.26 | 42.33 ▼2.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
Everything seems fine on the user side
Optimizations
Plugin configuration 86% 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 need to be fixed:
- Contributors: Contributors not specified
casso-tu-dong-xac-nhan-thanh-toan-chuyen-khoan-ngan-hang/wc-gateway-casso.php 77% from 13 tests
Analyzing the main PHP file in "Casso - Tự động xác nhận thanh toán chuyển khoản ngân hàng" version 3.3.1
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 146 characters long)
- Plugin Name: Please shorten the plugin name (currently 73 characters long instead of max. 70)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("casso-tu-dong-xac-nhan-thanh-toan-chuyen-khoan-ngan-hang.php" instead of "wc-gateway-casso.php")
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
Success! There were no dangerous files found in this plugin2,133 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 200 | 345 | 1,916 |
PO File | 1 | 70 | 103 | 197 |
CSS | 1 | 3 | 0 | 20 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 13.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 78.00 |
Average method complexity | 3.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 1 | 7.14% |
▷ Concrete classes | 13 | 92.86% |
▷ Final classes | 0 | 0.00% |
Methods | 74 | |
▷ Static methods | 13 | 17.57% |
▷ Public methods | 72 | 97.30% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 2.70% |
Functions | 4 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 4 | 100.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
13 PNG files occupy 0.10MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/success-icon.png | 33.46KB | 14.16KB | ▼ 57.69% |
assets/vietinbank.png | 7.29KB | 3.69KB | ▼ 49.38% |
assets/ocb.png | 0.97KB | 0.73KB | ▼ 24.44% |
assets/acb.png | 4.54KB | 2.65KB | ▼ 41.66% |
assets/sacombank.png | 6.23KB | 3.28KB | ▼ 47.27% |