Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/cj-change-howdy/cj-change-howdy.php+43
Methods with the same name as their class will not be constructors in a future version of PHP; cjPluginSeriesHowdy has a deprecated constructor
Server metrics [RAM: ▼0.96MB] [CPU: ▼39.93ms] Passed 4 tests
This is a short check of server-side resources used by CJ Change Howdy
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 42.28 ▲0.88 |
Dashboard /wp-admin | 3.00 ▼0.35 | 27.28 ▼40.49 |
Posts /wp-admin/edit.php | 3.00 ▼0.36 | 25.30 ▼25.47 |
Add New Post /wp-admin/post-new.php | 3.00 ▼2.89 | 25.35 ▼76.40 |
Media Library /wp-admin/upload.php | 3.00 ▼0.23 | 22.57 ▼17.34 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
cjPluginSeriesHowdyAdminOptions |
Browser metrics Passed 4 tests
An overview of browser requirements for CJ Change Howdy
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲58 | 14.48 ▼0.14 | 1.98 ▲0.16 | 45.37 ▲1.61 |
Dashboard /wp-admin | 2,207 ▲19 | 5.83 ▼0.05 | 105.41 ▼12.43 | 45.24 ▼1.09 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▲0.03 | 35.42 ▼2.56 | 33.15 ▼3.44 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 23.07 ▲5.59 | 645.23 ▼21.98 | 56.94 ▲6.19 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.20 ▲0.03 | 102.90 ▼5.73 | 47.60 ▼0.39 |
CJ Change Howdy /wp-admin/cj-change-howdy.php | 26 | 0.44 | 0.16 | 13.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall without warnings or errors
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- cjPluginSeriesHowdyAdminOptions
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
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 fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cj-change-howdy/cj-change-howdy.php:109
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- > GET request to /wp-admin/cj-change-howdy.php
- > Network (severe)
wp-admin/cj-change-howdy.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% 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
These attributes need to be fixed:
- Screenshots: Add an image for screenshot #1 (After installing the plugin.)
cj-change-howdy/cj-change-howdy.php Passed 13 tests
The primary PHP file in "CJ Change Howdy" version 3.3.1 is used by WordPress to initiate all plugin functionality
76 characters long description:
Don't like Howdy? Change it to whatever you want. Wordpress 3.3+ compatible!
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin81 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 12 | 21 | 81 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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