Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.15MB] [CPU: ▼8.41ms] Passed 4 tests
An overview of server-side resources used by WP JV Post Reading Groups
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 38.08 ▼1.01 |
Dashboard /wp-admin | 3.46 ▲0.11 | 44.94 ▼23.88 |
Posts /wp-admin/edit.php | 3.57 ▲0.22 | 46.25 ▼2.78 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.18 | 91.54 ▼5.95 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 34.93 ▲0.91 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 16 new files
Database: no new tables, 7 new options
New WordPress options |
---|
wp_jv_prg_rg_settings |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for WP JV Post Reading Groups
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲61 | 13.36 ▼0.90 | 4.43 ▲2.59 | 42.99 ▼0.92 |
Dashboard /wp-admin | 2,213 ▲28 | 5.86 ▲0.01 | 100.60 ▼4.24 | 41.08 ▲4.01 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.03 ▲0.01 | 37.37 ▲0.21 | 31.63 ▼1.86 |
Add New Post /wp-admin/post-new.php | 6,216 ▲4,702 | 18.81 ▲1.27 | 853.43 ▲182.51 | 55.16 ▲0.55 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.24 ▼0.01 | 108.09 ▲10.46 | 46.28 ▲5.51 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wp-jv-post-reading-groups/uninstall.php
- > /wp-content/plugins/wp-jv-post-reading-groups/wp-jv-post-reading-groups.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 17 tag instead of maximum 10
wp-jv-post-reading-groups/wp-jv-post-reading-groups.php Passed 13 tests
The principal PHP file in "WP JV Post Reading Groups" v. 2.4 is loaded by WordPress automatically on each request
100 characters long description:
Grant read-only permission for selected users (with no administrator role) on selected private posts
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
Success! There were no dangerous files found in this plugin1,033 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 154 | 218 | 782 |
PO File | 2 | 43 | 57 | 123 |
JavaScript | 2 | 26 | 44 | 98 |
CSS | 1 | 9 | 4 | 30 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 31 | |
▷ Named functions | 31 | 100.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
There were not PNG files found in your plugin