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.00MB] [CPU: ▼9.87ms] Passed 4 tests
Analyzing server-side resources used by Poet.ly
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 41.75 ▲2.97 |
Dashboard /wp-admin | 3.31 ▼0.03 | 47.70 ▼19.28 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 45.67 ▼7.86 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 90.42 ▼13.53 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 36.31 ▲1.21 |
Poet.ly /wp-admin/edit.php?page=poet.ly | 3.20 | 32.72 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 9 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
poetly_default_author |
poetly_default_status |
widget_theysaidso_widget |
db_upgraded |
poetly_api_key |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Poet.ly
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 14.78 ▲0.41 | 1.67 ▲0.01 | 44.33 ▲0.45 |
Dashboard /wp-admin | 2,222 ▲16 | 4.87 ▼1.02 | 111.20 ▲4.46 | 38.63 ▼6.29 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▲0.01 | 35.02 ▼2.88 | 31.86 ▼4.04 |
Add New Post /wp-admin/post-new.php | 1,548 ▲3 | 23.32 ▲0.07 | 668.72 ▲18.87 | 57.53 ▼11.39 |
Media Library /wp-admin/upload.php | 1,398 ▼5 | 4.24 ▲0.00 | 98.15 ▼9.52 | 45.51 ▼0.74 |
Poet.ly /wp-admin/edit.php?page=poet.ly | 862 | 2.02 | 21.92 | 28.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/poet-ly/trunk/poetly.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/poet-ly/poetly.php:29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% 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:
- Tags: You are using too many tags: 17 tag instead of maximum 10
poet-ly/poetly.php 85% from 13 tests
Analyzing the main PHP file in "Poet.ly" version 1.0.0
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 148 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("poet-ly.php" instead of "poetly.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected242 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 41 | 73 | 242 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
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 | 16 | |
▷ Named functions | 16 | 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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin