Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼0.13MB] [CPU: ▼23.35ms] Passed 4 tests
This is a short check of server-side resources used by Related Posts by CurateWP
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 43.73 ▼11.33 |
Dashboard /wp-admin | 3.45 ▲0.10 | 50.75 ▼20.28 |
Posts /wp-admin/edit.php | 3.56 ▲0.21 | 51.42 ▼8.15 |
Add New Post /wp-admin/post-new.php | 4.96 ▼0.92 | 54.96 ▼53.64 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 39.91 ▼0.24 |
Server storage [IO: ▲0.86MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 24 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_cwprp_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Related Posts by CurateWP
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲56 | 13.18 ▼1.07 | 1.96 ▲0.24 | 43.54 ▲0.83 |
Dashboard /wp-admin | 2,209 ▲24 | 5.86 ▼0.04 | 125.39 ▲13.47 | 44.01 ▲2.34 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 1.98 ▼0.06 | 39.67 ▲0.43 | 34.94 ▼1.04 |
Add New Post /wp-admin/post-new.php | 6,186 ▲4,665 | 19.18 ▼4.19 | 943.45 ▲254.63 | 56.03 ▲1.05 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.20 ▲0.00 | 98.72 ▼20.11 | 46.85 ▲1.05 |
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
- Zombie WordPress options were found after uninstall: 7 options
- widget_cwprp_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 86% 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
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
curatewp-related-posts/curatewp-related-posts.php 77% from 13 tests
This is the main PHP file of "Related Posts by CurateWP" version 1.2.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Domain Path: Prefix the domain path with a forward slash character ("/languages")
- Domain Path: The domain path should use only dashes and lowercase characters ("languages")
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
No dangerous file extensions were detected18,529 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 3 | 0 | 0 | 17,761 |
PHP | 12 | 148 | 355 | 707 |
PO File | 1 | 20 | 34 | 54 |
JavaScript | 1 | 0 | 5 | 6 |
CSS | 1 | 1 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 16.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 3.19 |
▷ 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin