Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼4.40ms] Passed 4 tests
An overview of server-side resources used by Press Release Distribution
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 37.51 ▼7.60 |
Dashboard /wp-admin | 3.37 ▲0.06 | 46.49 ▼2.99 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 49.43 ▼2.80 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 85.76 ▼4.19 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 34.60 ▲0.69 |
All Press Releases /wp-admin/edit.php?post_type=press_release | 3.33 | 36.09 |
Add New /wp-admin/post-new.php?post_type=press_release | 3.50 | 51.69 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Press Release Distribution: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,914 ▲179 | 13.62 ▼0.67 | 4.62 ▲2.78 | 41.12 ▼8.53 |
Dashboard /wp-admin | 2,227 ▲42 | 5.79 ▲0.89 | 101.48 ▼2.46 | 40.44 ▼0.90 |
Posts /wp-admin/edit.php | 2,113 ▲21 | 2.05 ▲0.05 | 39.19 ▼5.72 | 34.60 ▼1.99 |
Add New Post /wp-admin/post-new.php | 1,442 ▼77 | 19.89 ▼3.21 | 604.82 ▼47.22 | 60.36 ▲3.32 |
Media Library /wp-admin/upload.php | 1,418 ▲30 | 4.22 ▲0.02 | 98.34 ▼1.54 | 42.59 ▼0.07 |
All Press Releases /wp-admin/edit.php?post_type=press_release | 1,128 | 1.93 | 31.40 | 30.11 |
Add New /wp-admin/post-new.php?post_type=press_release | 2,770 | 7.75 | 178.64 | 75.14 |
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 were found after uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however 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
No output text or server-side errors detected on direct access of PHP files
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 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please describe screenshot #1 in press-release-distribution/assets to your readme.txt
press-release-distribution/press-release-distribution.php 92% from 13 tests
This is the main PHP file of "Press Release Distribution" version 1.1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 222 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin299 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 69 | 171 | 229 |
PO File | 1 | 20 | 20 | 70 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
Average class complexity | 4.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 6.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 | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 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 | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin