Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.10MB] [CPU: ▼2.53ms] Passed 4 tests
Server-side resources used by Quick related post
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.11 | 38.41 ▼1.40 |
Dashboard /wp-admin | 3.40 ▲0.10 | 44.13 ▼2.57 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 48.27 ▼2.89 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 97.64 ▼3.26 |
Media Library /wp-admin/upload.php | 3.32 ▲0.10 | 35.50 ▲2.75 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 26 new files
Database: no new tables, 14 new options
New WordPress options |
---|
can_compress_scripts |
quick_related_post_excerpt |
widget_theysaidso_widget |
quick_related_post_thumbnail |
quick_related_post_style_default |
widget_recent-posts |
theysaidso_admin_options |
quick_related_post_date |
quick_related_post_author |
db_upgraded |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Quick related post
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,953 ▲218 | 13.73 ▼0.85 | 5.35 ▲3.62 | 38.22 ▼0.82 |
Dashboard /wp-admin | 2,243 ▲52 | 4.92 ▼0.05 | 99.77 ▼0.27 | 41.62 ▼5.58 |
Posts /wp-admin/edit.php | 2,123 ▲34 | 2.09 ▲0.09 | 41.70 ▲1.54 | 38.91 ▲3.68 |
Add New Post /wp-admin/post-new.php | 1,545 ▲12 | 17.62 ▼5.55 | 679.45 ▲8.78 | 58.94 ▲2.92 |
Media Library /wp-admin/upload.php | 1,422 ▲37 | 4.24 ▼0.01 | 94.15 ▼4.09 | 39.41 ▼9.57 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 14 options in the database
- quick_related_post_readmore
- quick_related_post_style_default
- db_upgraded
- quick_related_post_title
- widget_theysaidso_widget
- widget_recent-comments
- quick_related_post_version
- quick_related_post_author
- widget_recent-posts
- can_compress_scripts
- ...
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
Even though no errors were found, this is by no means an exhaustive test
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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: related, related post, related content, posts
quick-related-post/quick-related-post.php Passed 13 tests
The primary PHP file in "Quick related post" version 2.0 is used by WordPress to initiate all plugin functionality
58 characters long description:
Easy display Related Post under post by tags and category.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected1,088 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 88 | 22 | 790 |
CSS | 5 | 18 | 19 | 228 |
JavaScript | 3 | 2 | 0 | 70 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin