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
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼1.52ms] Passed 4 tests
Analyzing server-side resources used by Read a Poem - Month by Month
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.05 | 43.24 ▲0.91 |
Dashboard /wp-admin | 3.40 ▲0.05 | 56.70 ▲5.87 |
Posts /wp-admin/edit.php | 3.51 ▲0.11 | 52.72 ▼2.61 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.05 | 87.30 ▼10.23 |
Media Library /wp-admin/upload.php | 3.32 ▲0.05 | 43.13 ▲6.45 |
All Poems /wp-admin/edit.php?post_type=poem | 3.37 | 42.04 |
Add New /wp-admin/post-new.php?post_type=poem | 3.43 | 47.84 |
Assign to Month /wp-admin/edit.php?post_type=poem&page=poem-assign-poem | 3.30 | 38.04 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
poem |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Read a Poem - Month by Month
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲68 | 14.37 ▲0.17 | 2.64 ▲1.02 | 43.97 ▼0.41 |
Dashboard /wp-admin | 2,225 ▲45 | 5.56 ▼0.12 | 88.13 ▼5.18 | 36.14 ▼4.78 |
Posts /wp-admin/edit.php | 2,130 ▲27 | 2.00 ▼0.00 | 34.60 ▼8.44 | 37.55 ▲0.71 |
Add New Post /wp-admin/post-new.php | 1,554 ▲26 | 23.54 ▲0.41 | 710.21 ▲43.96 | 56.69 ▲4.66 |
Media Library /wp-admin/upload.php | 1,436 ▲36 | 4.14 ▼0.04 | 115.62 ▲13.13 | 49.23 ▲7.44 |
All Poems /wp-admin/edit.php?post_type=poem | 1,111 | 1.96 | 30.24 | 30.47 |
Add New /wp-admin/post-new.php?post_type=poem | 2,190 | 7.69 | 191.77 | 70.99 |
Assign to Month /wp-admin/edit.php?post_type=poem&page=poem-assign-poem | 1,051 | 1.99 | 23.95 | 25.05 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- 38 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=poem&page=poem-assign-poem
- > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known
- 38 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=poem&page=poem-assign-poem
- > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(http://www.fillyourtaproom.com/wp-json/wp/v2/posts?per_page=10): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/read-a-poem-month-by-month/read-a-poem.php:27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
8 plugin tags: poetry, quotes, dynamic, poem, writer...
read-a-poem-month-by-month/read-a-poem.php 92% from 13 tests
Analyzing the main PHP file in "Read a Poem - Month by Month" version 1.0.0
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("read-a-poem-month-by-month.php" instead of "read-a-poem.php")
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
No dangerous file extensions were detected200 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 41 | 57 | 172 |
CSS | 1 | 7 | 4 | 28 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 11 | |
▷ Named functions | 11 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin