Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼10.72ms] Passed 4 tests
A check of server-side resources used by pattern post manager
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.57 ▲0.73 |
Dashboard /wp-admin | 3.33 ▼0.01 | 49.63 ▼17.04 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 47.20 ▼7.17 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 88.20 ▼19.40 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 39.04 ▲1.17 |
phrase pattern list /wp-admin/edit.php?post_type=its_ppm_item | 3.30 | 35.17 |
add phrase pattern /wp-admin/post-new.php?post_type=its_ppm_item | 3.38 | 45.67 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
pattern post manager: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲75 | 14.31 ▼0.04 | 1.73 ▲0.04 | 42.98 ▼1.21 |
Dashboard /wp-admin | 2,227 ▲53 | 5.54 ▼0.02 | 90.18 ▲3.64 | 40.17 ▲3.16 |
Posts /wp-admin/edit.php | 2,129 ▲26 | 2.01 ▼0.03 | 37.53 ▲1.12 | 37.90 ▲2.59 |
Add New Post /wp-admin/post-new.php | 1,553 ▲27 | 23.36 ▲0.35 | 632.99 ▼82.45 | 49.60 ▼4.89 |
Media Library /wp-admin/upload.php | 1,429 ▲29 | 4.23 ▼0.01 | 101.30 ▼4.84 | 45.27 ▼1.56 |
phrase pattern list /wp-admin/edit.php?post_type=its_ppm_item | 1,093 | 1.97 | 29.24 | 32.64 |
add phrase pattern /wp-admin/post-new.php?post_type=its_ppm_item | 2,222 | 7.68 | 182.47 | 67.94 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Please fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pattern-post-manager/its-ppm.php:35
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Donate link: Invalid URI found ("")
pattern-post-manager/its-ppm.php 92% from 13 tests
The primary PHP file in "pattern post manager" version 1.1.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("pattern-post-manager.php" instead of "its-ppm.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin129 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 26 | 28 | 79 |
PO File | 1 | 10 | 10 | 36 |
JavaScript | 1 | 3 | 0 | 14 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.04 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 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 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected