Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼2.77ms] Passed 4 tests
This is a short check of server-side resources used by Text Changer for Welcart
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 39.52 ▼2.42 |
Dashboard /wp-admin | 3.31 ▼0.03 | 50.94 ▼10.90 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.74 ▲0.24 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 87.46 ▲3.43 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.68 ▲2.02 |
Text Changer for Welcart /wp-admin/options-general.php?page=tcw_function_settings | 3.76 | 32.43 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Text Changer for Welcart: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲34 | 14.34 ▼0.26 | 1.76 ▼0.16 | 43.91 ▲0.24 |
Dashboard /wp-admin | 2,201 ▲23 | 5.52 ▼0.20 | 83.60 ▼33.39 | 40.20 ▼5.63 |
Posts /wp-admin/edit.php | 2,106 ▲9 | 1.94 ▼0.01 | 39.47 ▲1.48 | 38.73 ▲3.57 |
Add New Post /wp-admin/post-new.php | 1,534 ▲8 | 23.32 ▲0.10 | 585.08 ▼171.36 | 45.18 ▼23.27 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.20 ▼0.04 | 99.27 ▼16.10 | 45.73 ▼2.35 |
Text Changer for Welcart /wp-admin/options-general.php?page=tcw_function_settings | 771 | 2.02 | 25.09 | 23.58 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Donate link: Please fix this invalid url: ""
text-changer-for-welcart/text-changer-for-welcart.php 92% from 13 tests
The entry point to "Text Changer for Welcart" version 1.1.8 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Domain Path: The domain path points to a folder that does not exist ("/languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin2,263 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 113 | 99 | 2,025 |
CSS | 1 | 53 | 6 | 238 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 30 | |
▷ Named functions | 30 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 2 | 66.67% |
▷ Class constants | 1 | 33.33% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
other_tab/img/logo-ffw_square_350.png | 8.80KB | 3.05KB | ▼ 65.30% |
other_tab/img/logo-pnp_square_350.png | 6.37KB | 3.09KB | ▼ 51.47% |
other_tab/img/logo-tfs_square_350.png | 5.34KB | 2.50KB | ▼ 53.16% |
other_tab/img/logo-tcw_square_350.png | 5.16KB | 2.67KB | ▼ 48.27% |
other_tab/img/logo-cps_square_350.png | 8.00KB | 2.89KB | ▼ 63.88% |