Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.34ms] Passed 4 tests
Analyzing server-side resources used by Remove "Powered by WordPress"
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 43.58 ▲0.61 |
Dashboard /wp-admin | 3.32 ▼0.03 | 45.92 ▼15.09 |
Posts /wp-admin/edit.php | 3.43 ▲0.08 | 44.15 ▼4.89 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 91.45 ▼3.01 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.07 ▼2.38 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Remove "Powered by WordPress"
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲60 | 14.67 ▼0.04 | 2.03 ▲0.34 | 37.96 ▼6.33 |
Dashboard /wp-admin | 2,195 ▲15 | 5.55 ▼0.12 | 98.18 ▼0.40 | 42.94 ▼3.50 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.99 ▲0.04 | 38.72 ▼1.94 | 35.48 ▼1.65 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.50 ▲0.01 | 672.26 ▼7.21 | 71.83 ▲7.64 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.17 ▼0.01 | 97.04 ▼0.83 | 41.62 ▼0.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 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)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_template() in wp-content/plugins/remove-powered-by-wp/includes/class-rpbw-common.php:507
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
5 plugin tags: customize, modify, twentyseventeen, twentytwenty, twentytwentyone
remove-powered-by-wp/remove-powered-by-wp.php Passed 13 tests
Analyzing the main PHP file in "Remove "Powered by WordPress"" version 1.5.8
86 characters long description:
Removes the WordPress credit on all default WordPress themes and inserts a widget area
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin1,006 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 518 | 21 | 994 |
JavaScript | 1 | 5 | 3 | 12 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.67 |
Average class complexity | 54.67 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 85.00 |
Average method complexity | 4.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 41 | |
▷ Static methods | 26 | 63.41% |
▷ Public methods | 41 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin