Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.26ms] Passed 4 tests
Server-side resources used by Button Text Changer WC
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.48 ▼2.58 |
Dashboard /wp-admin | 3.33 ▲0.02 | 46.55 ▼1.89 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 52.88 ▲1.64 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 81.00 ▼26.21 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 39.92 ▲5.34 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Button Text Changer WC: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.38 ▲0.03 | 1.54 ▼0.20 | 39.70 ▼1.62 |
Dashboard /wp-admin | 2,198 ▲27 | 5.55 ▼0.03 | 83.81 ▼13.43 | 39.82 ▼0.45 |
Posts /wp-admin/edit.php | 2,079 ▼24 | 2.08 ▲0.11 | 34.64 ▲0.34 | 35.63 ▲4.56 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.31 ▼0.10 | 674.02 ▲16.45 | 53.20 ▼5.93 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.20 ▼0.08 | 94.34 ▲0.66 | 43.86 ▲2.18 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
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 smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: There are too many tags (12 tag instead of maximum 10)
- Screenshots: Add descriptions for screenshots #4, #5, #6, #7 in button-text-changer-wc/assets to your readme.txt
button-text-changer-wc/button-text-changer-wc.php 92% from 13 tests
The entry point to "Button Text Changer WC" version 1.0.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 169 characters long)
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
Good job! No executable or dangerous file extensions detected245 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 68 | 84 | 212 |
JavaScript | 1 | 16 | 4 | 33 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin