Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.84ms] Passed 4 tests
An overview of server-side resources used by Admin Screenshots
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.67 ▼3.42 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.50 ▼3.23 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 48.97 ▼0.73 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 95.65 ▲0.03 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.02 ▲2.96 |
Server storage [IO: ▲0.67MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Admin Screenshots
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,846 ▲100 | 13.45 ▼0.92 | 1.81 ▲0.14 | 28.33 ▼11.07 |
Dashboard /wp-admin | 2,225 ▲33 | 5.16 ▲0.12 | 115.21 ▲6.91 | 41.15 ▼1.53 |
Posts /wp-admin/edit.php | 2,108 ▲19 | 2.27 ▲0.27 | 43.25 ▲6.92 | 35.85 ▲0.49 |
Add New Post /wp-admin/post-new.php | 1,524 ▲10 | 23.81 ▲6.36 | 659.04 ▼10.74 | 38.39 ▼13.52 |
Media Library /wp-admin/upload.php | 1,407 ▲16 | 4.40 ▲0.17 | 99.95 ▲2.14 | 47.09 ▲1.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 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
Please fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/admin-screenshots/admin-screenshots.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
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
4 plugin tags: share, debug, screenshot, admin
admin-screenshots/admin-screenshots.php Passed 13 tests
The main PHP file in "Admin Screenshots" ver. 1.0.3 adds more information about the plugin and also serves as the entry point for this plugin
130 characters long description:
The easiest way to share a screenshot of any of your site's settings pages, without giving anyone direct access to your dashboard.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin7,631 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 137 | 336 | 7,440 |
PHP | 3 | 16 | 18 | 79 |
CSS | 2 | 6 | 0 | 57 |
Markdown | 1 | 25 | 0 | 55 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/shot-2.png | 7.58KB | 4.44KB | ▼ 41.41% |
assets/images/shot-1.png | 8.14KB | 4.75KB | ▼ 41.71% |