Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.27MB] [CPU: ▼3.15ms] Passed 4 tests
Server-side resources used by Announce from the Dashboard
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 42.87 ▲2.57 |
Dashboard /wp-admin | 3.67 ▲0.36 | 46.87 ▼2.44 |
Posts /wp-admin/edit.php | 3.72 ▲0.36 | 52.45 ▲2.29 |
Add New Post /wp-admin/post-new.php | 6.18 ▲0.29 | 95.18 ▼15.01 |
Media Library /wp-admin/upload.php | 3.53 ▲0.29 | 36.45 ▲2.55 |
Announce from the Dashboard /wp-admin/options-general.php?page=announce_from_the_dashboard | 3.60 | 36.68 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 33 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Announce from the Dashboard
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.25 ▼0.13 | 1.72 ▲0.08 | 42.03 ▲1.83 |
Dashboard /wp-admin | 2,207 ▲28 | 5.83 ▼0.03 | 97.35 ▼11.85 | 40.62 ▼4.13 |
Posts /wp-admin/edit.php | 2,090 ▼2 | 1.97 ▼0.01 | 39.97 ▼3.65 | 34.16 ▼4.47 |
Add New Post /wp-admin/post-new.php | 1,517 ▼16 | 17.35 ▼5.95 | 602.52 ▼59.07 | 47.46 ▼12.99 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.18 ▼0.07 | 97.20 ▼6.80 | 38.90 ▼8.83 |
Announce from the Dashboard /wp-admin/options-general.php?page=announce_from_the_dashboard | 2,411 | 6.04 | 130.41 | 32.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
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
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #1 (Settings Interface), #2 (Configuration Example), #3 (Display for Example), #4 (Metabox for Example)
announce-from-the-dashboard/announce-from-the-dashboard.php 92% from 13 tests
The principal PHP file in "Announce from the Dashboard" v. 1.5.2 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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
No dangerous file extensions were detected2,492 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 1,541 | 33 | 2,292 |
PO File | 2 | 76 | 102 | 190 |
CSS | 1 | 0 | 0 | 8 |
JavaScript | 1 | 1 | 0 | 2 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 14.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 2.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 2 | 14.29% |
▷ Concrete classes | 12 | 85.71% |
▷ Final classes | 12 | 100.00% |
Methods | 121 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 92 | 76.03% |
▷ Protected methods | 8 | 6.61% |
▷ Private methods | 21 | 17.36% |
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
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.11MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-4.png | 23.59KB | 10.24KB | ▼ 56.61% |
screenshot-3.png | 29.15KB | 12.01KB | ▼ 58.80% |
screenshot-2.png | 36.53KB | 15.18KB | ▼ 58.45% |
admin/assets/images/icon-sortable.png | 0.32KB | 0.17KB | ▼ 45.51% |
screenshot-1.png | 18.50KB | 8.30KB | ▼ 55.12% |