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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.14MB] [CPU: ▼15.55ms] Passed 4 tests
This is a short check of server-side resources used by Nested Posts by CurateWP
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.14 | 40.89 ▼3.07 |
Dashboard /wp-admin | 3.44 ▲0.09 | 48.81 ▼13.05 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 53.87 ▲0.24 |
Add New Post /wp-admin/post-new.php | 4.95 ▼0.94 | 54.14 ▼46.31 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 39.81 ▲1.90 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_cwpnp_widget |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Nested Posts by CurateWP
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲81 | 13.24 ▼1.15 | 4.82 ▲3.07 | 41.55 ▼3.73 |
Dashboard /wp-admin | 2,221 ▲17 | 5.80 ▲0.83 | 98.12 ▼21.19 | 38.12 ▼3.46 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 1.99 ▼0.04 | 39.06 ▼1.73 | 34.85 ▼1.61 |
Add New Post /wp-admin/post-new.php | 6,195 ▲4,664 | 26.08 ▲2.77 | 1,188.12 ▲551.12 | 54.10 ▲6.54 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.26 ▲0.03 | 102.17 ▼0.95 | 46.25 ▲0.28 |
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 7 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_cwpnp_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Congratulations! This plugin passed the SRP test
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 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
9 plugin tags: child posts, engagement, shortcode, gutenberg, nested posts...
curatewp-nested-posts/curatewp-nested-posts.php 77% from 13 tests
The main PHP script in "Nested Posts by CurateWP" version 1.1.0 is automatically included on every request by WordPress
The following require your attention:
- Domain Path: You should use only dashes and lowercase characters for the domain path ("languages")
- Domain Path: The domain path must begin with a forward slash character ("/languages")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected712 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 144 | 352 | 658 |
PO File | 1 | 18 | 28 | 50 |
JSON | 2 | 0 | 0 | 2 |
CSS | 1 | 0 | 0 | 1 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 15.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 3.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 37 | |
▷ Static methods | 12 | 32.43% |
▷ Public methods | 36 | 97.30% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.70% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
No PNG files were detected