Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▲1.07ms] Passed 4 tests
A check of server-side resources used by Hide Pages from Dashboard Page List
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 46.53 ▲2.17 |
Dashboard /wp-admin | 3.32 ▲0.02 | 50.40 ▲0.16 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 52.81 ▲4.13 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 93.75 ▲2.34 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 36.23 ▼0.41 |
Hide Pages /wp-admin/options-general.php?page=hide-pages-dashboard | 3.22 | 33.49 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Hide Pages from Dashboard Page List
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲9 | 14.25 ▼0.41 | 1.97 ▲0.07 | 46.22 ▼1.44 |
Dashboard /wp-admin | 2,201 ▲21 | 5.55 ▼0.12 | 99.86 ▲2.90 | 44.55 ▲3.62 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 1.97 ▼0.05 | 35.57 ▼5.38 | 33.14 ▼1.64 |
Add New Post /wp-admin/post-new.php | 1,531 ▼6 | 23.44 ▲5.13 | 664.97 ▲30.70 | 58.37 ▼27.23 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.30 ▲0.12 | 103.52 ▲2.51 | 42.15 ▼1.34 |
Hide Pages /wp-admin/options-general.php?page=hide-pages-dashboard | 832 | 1.96 | 26.50 | 53.37 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
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
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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: These screenshots require images: #1 (Create content ShortCode), #2 (Copy shortcode and paste it in pages or posts or widgets), #3 (Create image shortcode)
- Tags: You are using too many tags: 11 tag instead of maximum 10
hide-pages-from-dashboard-page-list/hide_pages_dashboard.php 92% from 13 tests
"Hide Pages from Dashboard Page List" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("hide-pages-from-dashboard-page-list.php" instead of "hide_pages_dashboard.php")
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
Success! There were no dangerous files found in this plugin148 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 40 | 36 | 103 |
CSS | 1 | 9 | 2 | 45 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 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 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin