Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼8.87ms] Passed 4 tests
This is a short check of server-side resources used by Page and Post Description
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.46 ▼6.39 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.43 ▼12.74 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.06 ▲1.72 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 86.16 ▼12.34 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 31.91 ▼4.00 |
Page and Post Description /wp-admin/options-general.php?page=page-and-post-description/options.php | 3.22 | 29.91 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Page and Post Description
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲32 | 14.28 ▼0.44 | 1.57 ▼0.16 | 38.84 ▼3.47 |
Dashboard /wp-admin | 2,202 ▲25 | 5.62 ▼0.00 | 91.78 ▲2.35 | 39.57 ▼3.77 |
Posts /wp-admin/edit.php | 2,120 ▲20 | 2.02 ▼0.00 | 50.89 ▲14.32 | 43.59 ▲4.96 |
Add New Post /wp-admin/post-new.php | 6,223 ▲4,694 | 26.05 ▲2.90 | 827.30 ▲178.52 | 53.08 ▼0.89 |
Media Library /wp-admin/upload.php | 1,401 ▲4 | 4.26 ▲0.06 | 99.10 ▼2.18 | 40.85 ▲1.14 |
Page and Post Description /wp-admin/options-general.php?page=page-and-post-description/options.php | 856 | 2.00 | 25.15 | 26.83 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/page-and-post-description/page-and-post-description.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_current_user() in wp-content/plugins/page-and-post-description/includes/ajax_page-and-post-list.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/page-and-post-description/options.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Donate link: Please fix this invalid URI: "wpgear.xyz/page-and-post-description/"
page-and-post-description/page-and-post-description.php 85% from 13 tests
The main PHP script in "Page and Post Description" version ... is automatically included on every request by WordPress
You should first fix the following items:
- Version: The version number should be digits and periods (ex. "1.0.3" instead of "...")
- Description: Keep the plugin description shorter than 140 characters (currently 174 characters long)
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 detected400 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 74 | 44 | 267 |
JavaScript | 1 | 34 | 6 | 102 |
CSS | 1 | 0 | 4 | 31 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
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 | 8 | |
▷ Named functions | 8 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin