Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼2.95ms] Passed 4 tests
Server-side resources used by FLX Dashboard Groups
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 37.54 ▼5.36 |
Dashboard /wp-admin | 3.35 ▲0.04 | 45.43 ▼2.12 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 48.13 ▲3.84 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 93.54 ▼8.15 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 39.39 ▲4.22 |
Dashboard Groups /wp-admin/options-general.php?page=flx_dashboard_groups | 3.28 | 31.37 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by FLX Dashboard Groups
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲73 | 14.44 ▲0.05 | 1.57 ▼0.25 | 38.12 ▼10.13 |
Dashboard /wp-admin | 2,211 ▲20 | 4.86 ▼1.03 | 111.08 ▲5.28 | 37.47 ▼7.94 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.06 ▲0.02 | 40.76 ▼0.73 | 34.57 ▼0.50 |
Add New Post /wp-admin/post-new.php | 1,521 ▼7 | 17.54 ▼0.62 | 599.33 ▼52.48 | 53.58 ▼3.99 |
Media Library /wp-admin/upload.php | 1,393 ▲8 | 4.28 ▲0.01 | 98.86 ▼7.20 | 41.18 ▼4.43 |
Dashboard Groups /wp-admin/options-general.php?page=flx_dashboard_groups | 1,039 | 2.06 | 27.30 | 59.54 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The SRP test was a success
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 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Contributors: Plugin contributors field is missing
flx-dashboard-groups/flx_dashboard_groups.php 85% from 13 tests
The main file in "FLX Dashboard Groups" v. 0.0.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("flx-dashboard-groups.php" instead of "flx_dashboard_groups.php")
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin1,063 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 160 | 41 | 1,032 |
CSS | 1 | 9 | 0 | 28 |
JavaScript | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 18.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 75.00 |
Average method complexity | 3.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 1 | 11.11% |
▷ Concrete classes | 8 | 88.89% |
▷ Final classes | 0 | 0.00% |
Methods | 61 | |
▷ Static methods | 3 | 4.92% |
▷ Public methods | 43 | 70.49% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 18 | 29.51% |
Functions | 5 | |
▷ Named functions | 1 | 20.00% |
▷ Anonymous functions | 4 | 80.00% |
Constants | 6 | |
▷ Global constants | 1 | 16.67% |
▷ Class constants | 5 | 83.33% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin