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
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼11.38ms] Passed 4 tests
A check of server-side resources used by DEC firebase plugin
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 42.56 ▼0.90 |
Dashboard /wp-admin | 3.40 ▲0.05 | 51.82 ▼17.48 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 52.54 ▲0.81 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 89.42 ▼27.96 |
Media Library /wp-admin/upload.php | 3.33 ▲0.09 | 41.87 ▲4.25 |
Settings /wp-admin/admin.php?page=decfirebase_setting | 3.30 | 34.68 |
Links /wp-admin/admin.php?page=decfirebase_link | 3.30 | 33.44 |
New user notifications /wp-admin/admin.php?page=decfirebase_new_notification | 3.31 | 35.22 |
Edit user /wp-admin/admin.php?page=decfirebase_user_edit | 3.33 | 25.65 |
User Notifications /wp-admin/admin.php?page=decfirebase_user_notification | 3.31 | 32.85 |
Edit user notifications /wp-admin/admin.php?page=decfirebase_edit_notification | 3.31 | 32.65 |
Welcome to DEC firebase plugin! /wp-admin/index.php?page=decfirebase-about | 3.29 | 33.87 |
Users /wp-admin/admin.php?page=decfirebase | 3.31 | 33.83 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for DEC firebase plugin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲68 | 14.28 ▼0.18 | 1.59 ▼0.04 | 42.77 ▲0.37 |
Dashboard /wp-admin | 2,232 ▲52 | 5.62 ▲0.04 | 84.38 ▼13.42 | 39.20 ▼4.09 |
Posts /wp-admin/edit.php | 2,140 ▲40 | 1.96 ▼0.01 | 40.47 ▲4.28 | 35.87 ▼0.35 |
Add New Post /wp-admin/post-new.php | 1,567 ▲38 | 18.34 ▼4.80 | 676.33 ▲6.96 | 68.72 ▲18.24 |
Media Library /wp-admin/upload.php | 1,437 ▲40 | 4.11 ▼0.08 | 113.53 ▲0.12 | 47.91 ▲5.58 |
Settings /wp-admin/admin.php?page=decfirebase_setting | 865 | 2.00 | 25.34 | 26.14 |
Links /wp-admin/admin.php?page=decfirebase_link | 714 | 1.51 | 6.87 | 26.41 |
New user notifications /wp-admin/admin.php?page=decfirebase_new_notification | 717 | 1.51 | 6.67 | 20.18 |
Edit user /wp-admin/admin.php?page=decfirebase_user_edit | 717 | 1.33 | 6.37 | 17.76 |
User Notifications /wp-admin/admin.php?page=decfirebase_user_notification | 714 | 1.51 | 6.91 | 24.72 |
Edit user notifications /wp-admin/admin.php?page=decfirebase_edit_notification | 717 | 1.12 | 7.16 | 16.94 |
Welcome to DEC firebase plugin! /wp-admin/index.php?page=decfirebase-about | 812 | 2.02 | 23.37 | 34.55 |
Users /wp-admin/admin.php?page=decfirebase | 714 | 1.51 | 6.57 | 23.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
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 no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
These attributes need your attention:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== decfirebase ===
)
decfirebase/decfirebase.php Passed 13 tests
"DEC firebase plugin" version 1.0.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
19 characters long description:
Dec firebase plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected1,191 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 358 | 239 | 1,167 |
CSS | 1 | 5 | 0 | 24 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 7.50 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 31 | |
▷ Named functions | 31 | 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
No PNG files were detected