Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.09MB] [CPU: ▲5.70ms] Passed 4 tests
A check of server-side resources used by Dashboard Custom Feed Admin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 39.22 ▼4.62 |
Dashboard /wp-admin | 3.40 ▲0.10 | 60.45 ▲11.65 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 72.00 ▲21.63 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 105.13 ▲3.84 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 46.13 ▲11.91 |
Add New /wp-admin/post-new.php?post_type=dcf_update | 3.43 | 56.28 |
All Updates /wp-admin/edit.php?post_type=dcf_update | 3.35 | 43.27 |
DCF Admin Settings /wp-admin/options-general.php?page=dfca-setting-admin | 3.27 | 38.96 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Dashboard Custom Feed Admin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲99 | 13.62 ▼0.68 | 4.37 ▲2.31 | 43.05 ▼8.84 |
Dashboard /wp-admin | 2,237 ▲46 | 4.86 ▼0.01 | 109.25 ▲6.67 | 39.92 ▼4.22 |
Posts /wp-admin/edit.php | 2,123 ▲31 | 1.99 ▼0.06 | 49.71 ▲8.90 | 43.29 ▲9.23 |
Add New Post /wp-admin/post-new.php | 1,540 ▲20 | 17.83 ▼5.27 | 658.14 ▼10.75 | 50.31 ▼9.85 |
Media Library /wp-admin/upload.php | 1,416 ▲28 | 4.21 ▼0.03 | 100.30 ▼2.23 | 43.39 ▼1.24 |
Add New /wp-admin/post-new.php?post_type=dcf_update | 2,154 | 7.57 | 181.43 | 64.15 |
All Updates /wp-admin/edit.php?post_type=dcf_update | 1,084 | 1.98 | 30.32 | 29.87 |
DCF Admin Settings /wp-admin/options-general.php?page=dfca-setting-admin | 824 | 2.03 | 26.38 | 31.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=dfca-setting-admin
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=dfca-setting-admin
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 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
Please take a closer look at the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/dashboard-custom-feed-admin/Dashboard-Custom-Feed-Admin-Options.php:142
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/dashboard-custom-feed-admin/Dashboard-Custom-Feed-Admin-Options.php:142
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: feed, dashboard, custom
dashboard-custom-feed-admin/Dashboard-Custom-Feed-Admin.php 92% from 13 tests
The main PHP script in "Dashboard Custom Feed Admin" version 1.0 is automatically included on every request by WordPress
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("dashboard-custom-feed-admin.php" instead of "Dashboard-Custom-Feed-Admin.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 plugin193 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 37 | 50 | 193 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 4.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG images were not found in this plugin