Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▼1.83ms] Passed 4 tests
Server-side resources used by Debrandify · Remove or Replace WordPress Branding
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 41.30 ▼2.68 |
Dashboard /wp-admin | 3.48 ▲0.17 | 48.14 ▲0.30 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 47.76 ▼6.48 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 101.48 ▲7.97 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 40.29 ▲1.56 |
Debrandify /wp-admin/options-general.php?page=debrandify | 3.37 | 33.26 |
Server storage [IO: ▲0.68MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 17 new files
Database: no new tables, 32 new options
New WordPress options |
---|
dbrdify_elementor_overview |
dbrdify_email_from |
dbrdify_wordpress-tab-suffix |
dbrdify_wp_embed |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
dbrdify_dashboard_news |
dbrdify_centerLogin |
dbrdify_svg |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Debrandify · Remove or Replace WordPress Branding
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.27 ▼0.07 | 1.71 ▲0.18 | 44.50 ▲3.05 |
Dashboard /wp-admin | 2,198 ▲24 | 5.63 ▲0.05 | 95.51 ▲1.57 | 42.35 ▲1.67 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 1.96 ▼0.07 | 34.11 ▼8.91 | 32.23 ▼6.15 |
Add New Post /wp-admin/post-new.php | 1,539 ▲11 | 18.37 ▼4.76 | 615.43 ▼80.23 | 66.76 ▲13.30 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.20 ▼0.01 | 98.21 ▼1.71 | 41.83 ▼3.36 |
Debrandify /wp-admin/options-general.php?page=debrandify | 1,090 | 2.04 | 25.89 | 45.36 |
Uninstaller [IO: ▲0.68MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attentionThis plugin does not fully uninstall, leaving 33 options in the database
- This plugin did not uninstall without warnings or errors
- > Compile error in wp-content/plugins/debrandify/src/php/functions.php+3
Cannot redeclare dbrdify_getDefaultOptions() (previously declared in wp-content/plugins/debrandify/src/php/functions.php:7)
- The plugin did not uninstall successfully, leaving 17 files (0.68MB) in the plugin directory
- (new file) src/css/style.css
- (new file) src/images/bin.svg
- (new file) languages/debrandify-fr_FR.mo
- (new file) src/images/bin.png
- (new file) src/images/debrandify.png
- (new file) debrandify.php
- (new file) readme.txt
- (new file) languages/dbrdify.pot
- (new file) readme.md
- (new file) languages/debrandify-fr_FR.po
- ...
- dbrdify_installDate
- dbrdify_email_username
- dbrdify_usedNotice
- recovery_mode_email_last_sent
- dbrdify_svg
- widget_theysaidso_widget
- dbrdify_thank_you_string
- dbrdify_wp_embed
- dbrdify_dashboard_news
- dbrdify_smileys
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: Please a description for screenshot #0 in debrandify/assets to your readme.txt
debrandify/debrandify.php 85% from 13 tests
The entry point to "Debrandify · Remove or Replace WordPress Branding" version 1.1.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Domain Path: You should use only dashes and lowercase characters for the domain path ("languages/")
- Domain Path: The domain path must begin with a forward slash character ("/languages/")
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,125 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 155 | 62 | 644 |
PO File | 1 | 70 | 83 | 174 |
CSS | 1 | 5 | 1 | 85 |
Sass | 1 | 16 | 1 | 85 |
SVG | 1 | 0 | 0 | 61 |
Markdown | 1 | 22 | 0 | 44 |
JavaScript | 1 | 9 | 0 | 32 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 15.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 7.25 |
▷ Minimum method complexity | 3.00 |
▷ Maximum method complexity | 17.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 | 58 | |
▷ Named functions | 18 | 31.03% |
▷ Anonymous functions | 40 | 68.97% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.59MB with 0.38MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
src/images/bin.png | 168.26KB | 75.14KB | ▼ 55.34% |
src/images/debrandify.png | 36.89KB | 13.86KB | ▼ 62.44% |
src/images/screenshot.png | 401.78KB | 110.06KB | ▼ 72.61% |