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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼8.58ms] Passed 4 tests
An overview of server-side resources used by Remove WP Branding
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 34.24 ▼11.33 |
Dashboard /wp-admin | 3.31 ▲0.01 | 41.15 ▼5.38 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 50.36 ▲7.27 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 82.34 ▼15.34 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 35.10 ▼2.25 |
Remove Branding /wp-admin/plugins.php?page=remove-wp-branding | 3.30 | 35.46 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 19 new options
New WordPress options |
---|
rwp_remove_from_admin_menu |
rwp_eliminate_logo |
rwp_remove_comp_dashboards |
rwp_login_logo_height |
rwp_eliminate_help |
rwp_lower_left_text |
rwp_left_widget_title |
rwp_left_widget_content |
rwp_login_logo |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Remove WP Branding
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,097 ▼649 | 14.13 ▼0.46 | 1.74 ▼0.02 | 39.70 ▼2.58 |
Dashboard /wp-admin | 1,520 ▼671 | 5.78 ▲0.87 | 106.94 ▲3.81 | 32.95 ▼12.61 |
Posts /wp-admin/edit.php | 2,207 ▲118 | 3.32 ▲1.29 | 54.39 ▲17.94 | 31.46 ▼0.97 |
Add New Post /wp-admin/post-new.php | 1,511 ▼9 | 23.08 ▲0.05 | 593.52 ▼85.40 | 35.62 ▼26.64 |
Media Library /wp-admin/upload.php | 1,341 ▼47 | 4.13 ▼0.10 | 76.81 ▼33.31 | 37.65 ▼6.80 |
Remove Branding /wp-admin/plugins.php?page=remove-wp-branding | 1,177 | 3.05 | 42.25 | 94.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/remove-wp-branding/remove-wp-branding.php:32
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: custom branding, remove branding, dashboard customization, add dashboard widget, change login logo...
remove-wp-branding/remove-wp-branding.php 92% from 13 tests
This is the main PHP file of "Remove WP Branding" version 1.1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 188 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin305 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 68 | 85 | 305 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
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 | 21 | |
▷ Named functions | 21 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin