Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼5.33ms] Passed 4 tests
Server-side resources used by Press Release Writer
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 37.24 ▼7.37 |
Dashboard /wp-admin | 3.36 ▲0.06 | 49.64 ▼3.30 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 51.10 ▲1.71 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 90.86 ▼12.35 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 41.41 ▲8.79 |
Add New /wp-admin/post-new.php?post_type=pressrelease | 3.50 | 58.93 |
All Press Releases /wp-admin/edit.php?post_type=pressrelease | 3.33 | 39.72 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Press Release Writer
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,939 ▲193 | 14.12 ▼0.66 | 6.00 ▲4.33 | 43.34 ▲0.67 |
Dashboard /wp-admin | 2,233 ▲45 | 4.86 ▼0.07 | 106.16 ▼2.86 | 42.60 ▼2.36 |
Posts /wp-admin/edit.php | 2,116 ▲24 | 2.00 ▲0.02 | 37.15 ▼6.59 | 36.32 ▲0.49 |
Add New Post /wp-admin/post-new.php | 1,556 ▲35 | 23.47 ▲0.11 | 685.76 ▲64.02 | 60.33 ▲15.27 |
Media Library /wp-admin/upload.php | 1,415 ▲27 | 4.20 ▲0.03 | 110.25 ▲0.89 | 49.73 ▲3.81 |
Add New /wp-admin/post-new.php?post_type=pressrelease | 2,770 | 7.84 | 173.78 | 80.87 |
All Press Releases /wp-admin/edit.php?post_type=pressrelease | 1,128 | 2.02 | 31.13 | 29.12 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Screenshots: Please describe screenshot #1 in press-release-writer/assets to your readme.txt
press-release-writer/press-release-writer.php Passed 13 tests
The main file in "Press Release Writer" v. 2.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
64 characters long description:
A press release writing tool for your WordPress website or blog.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin229 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 69 | 172 | 229 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin