Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼8.40ms] Passed 4 tests
Analyzing server-side resources used by Grouped Content
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 42.08 ▼3.65 |
Dashboard /wp-admin | 3.36 ▲0.05 | 48.93 ▼6.27 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 50.53 ▼5.94 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 93.81 ▼17.74 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 39.92 ▲2.50 |
Page Groups /wp-admin/edit.php?post_type=page&page=ptc-grouped-content_post-type-page | 3.31 | 33.29 |
Create Draft Pages /wp-admin/tools.php?page=ptc-grouped-content_generator | 3.31 | 38.82 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Grouped Content
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲11 | 14.17 ▼0.10 | 1.73 ▼0.39 | 40.42 ▼10.11 |
Dashboard /wp-admin | 2,200 ▲20 | 5.64 ▼0.01 | 94.88 ▲5.69 | 42.58 ▲2.75 |
Posts /wp-admin/edit.php | 2,108 ▲5 | 1.99 ▼0.00 | 37.74 ▼3.00 | 31.98 ▼0.71 |
Add New Post /wp-admin/post-new.php | 1,541 ▲15 | 18.08 ▼5.04 | 655.34 ▼43.54 | 76.31 ▲20.04 |
Media Library /wp-admin/upload.php | 1,408 ▲11 | 4.26 ▲0.06 | 106.75 ▲1.08 | 45.05 ▼5.33 |
Page Groups /wp-admin/edit.php?post_type=page&page=ptc-grouped-content_post-type-page | 812 | 1.99 | 27.89 | 29.39 |
Create Draft Pages /wp-admin/tools.php?page=ptc-grouped-content_generator | 957 | 2.17 | 26.01 | 60.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 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)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
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 Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
10 plugin tags: page, group, sort, management, content...
grouped-content/grouped-content.php Passed 13 tests
This is the main PHP file of "Grouped Content" version 3.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
100 characters long description:
Provides easy access to hierarchical posts' parent page, sibling pages, and child pages in wp-admin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin1,566 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 376 | 643 | 1,458 |
JavaScript | 2 | 24 | 12 | 105 |
CSS | 3 | 0 | 0 | 3 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 28.33 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 4.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 13 | 61.90% |
▷ Public methods | 21 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 10 | 83.33% |
▷ Anonymous functions | 2 | 16.67% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected