Benchmarks
Plugin footprint 83% 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.03MB] [CPU: ▼8.36ms] Passed 4 tests
An overview of server-side resources used by Dashboard Instruction Guide
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 33.90 ▼5.45 |
Dashboard /wp-admin | 3.35 ▲0.00 | 44.46 ▼17.07 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 43.80 ▼0.36 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 81.26 ▼10.55 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.22 ▲6.62 |
All Instructions /wp-admin/admin.php?page=all-instruction | 3.24 | 31.58 |
Dashboard Instruction Guide /wp-admin/admin.php?page=dashboard-instruction-guide | 3.30 | 36.35 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Dashboard Instruction Guide
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 14.28 ▼0.45 | 1.71 ▼0.03 | 39.90 ▼8.03 |
Dashboard /wp-admin | 2,228 ▲48 | 5.64 ▲0.03 | 90.27 ▲1.24 | 38.45 ▲1.26 |
Posts /wp-admin/edit.php | 2,130 ▲30 | 2.02 ▼0.11 | 36.20 ▲0.80 | 31.19 ▼3.67 |
Add New Post /wp-admin/post-new.php | 1,410 ▼116 | 21.50 ▼1.39 | 501.35 ▼100.75 | 42.99 ▼32.36 |
Media Library /wp-admin/upload.php | 1,430 ▲30 | 4.21 ▼0.05 | 99.39 ▼6.24 | 42.78 ▼4.18 |
All Instructions /wp-admin/admin.php?page=all-instruction | 836 | 2.00 | 23.06 | 24.67 |
Dashboard Instruction Guide /wp-admin/admin.php?page=dashboard-instruction-guide | 1,620 | 6.55 | 141.97 | 56.85 |
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
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: document, helper, dashboard
dashboard-instruction-guide/dashboard-instruction-guide.php Passed 13 tests
The primary PHP file in "Dashboard Instruction Guide" version 1.0.0 is used by WordPress to initiate all plugin functionality
82 characters long description:
This plugin will help you to add documents/instructions for individual post types.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected553 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 125 | 74 | 412 |
CSS | 1 | 8 | 0 | 76 |
JavaScript | 1 | 20 | 5 | 65 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 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
There are no PNG files in this plugin