Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼3.35ms] Passed 4 tests
An overview of server-side resources used by Brozzme DB Prefix & Tools Addons
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 39.74 ▼0.51 |
Dashboard /wp-admin | 3.42 ▲0.12 | 46.96 ▼9.34 |
Posts /wp-admin/edit.php | 3.53 ▲0.18 | 49.43 ▼1.12 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 90.04 ▼2.41 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 44.40 ▲6.36 |
DB PREFIX /wp-admin/admin.php?page=brozzme-db-prefix | 3.31 | 31.21 |
DB PREFIX /wp-admin/tools.php?page=brozzme-db-prefix | 3.33 | 33.09 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Brozzme DB Prefix & Tools Addons
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲47 | 14.72 ▲0.03 | 1.80 ▼0.09 | 38.59 ▼10.11 |
Dashboard /wp-admin | 2,196 ▲16 | 5.62 ▲0.01 | 91.77 ▼7.90 | 42.07 ▼2.10 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.95 ▼0.00 | 38.78 ▼2.48 | 35.79 ▲3.34 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 22.90 ▼0.43 | 591.07 ▼51.71 | 69.68 ▲15.70 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.19 ▲0.02 | 94.80 ▲0.75 | 40.32 ▲0.04 |
DB PREFIX /wp-admin/admin.php?page=brozzme-db-prefix | 890 | 1.68 | 22.97 | 26.83 |
DB PREFIX /wp-admin/tools.php?page=brozzme-db-prefix | 887 | 1.84 | 27.66 | 28.18 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests Passed 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)
Even though everything seems fine, this is not 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 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
10 plugin tags: tools, _wp, dump, export, config...
brozzme-db-prefix-change/brozzme_db_prefix.php 92% from 13 tests
The main file in "Brozzme DB Prefix & Tools Addons" v. 1.3.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("brozzme-db-prefix-change.php" instead of "brozzme_db_prefix.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin1,078 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 98 | 135 | 481 |
PO File | 2 | 94 | 100 | 334 |
CSS | 2 | 22 | 5 | 255 |
JavaScript | 4 | 1 | 4 | 8 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 24.33 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 3.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.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 | 24 | |
▷ Static methods | 5 | 20.83% |
▷ Public methods | 24 | 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 | 12 | |
▷ Global constants | 12 | 100.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
1 PNG file occupies 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/img/logo-wps-200x200px.png | 30.17KB | 7.41KB | ▼ 75.43% |