Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.81MB] [CPU: ▼33.84ms] Passed 4 tests
A check of server-side resources used by Simple Permissions
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 37.37 ▼5.94 |
Dashboard /wp-admin | 3.13 ▼0.18 | 24.83 ▼28.79 |
Posts /wp-admin/edit.php | 3.13 ▼0.23 | 26.53 ▼25.37 |
Add New Post /wp-admin/post-new.php | 3.13 ▼2.76 | 25.00 ▼71.10 |
Media Library /wp-admin/upload.php | 3.13 ▼0.10 | 23.94 ▼10.10 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
SimplePermissionsAdminOptions |
widget_recent-comments |
Browser metrics Passed 4 tests
Simple Permissions: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲47 | 13.25 ▼1.12 | 1.62 ▼0.75 | 39.31 ▼12.97 |
Dashboard /wp-admin | 2,210 ▲22 | 4.87 ▼0.02 | 102.48 ▼14.75 | 38.92 ▼9.77 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.00 ▲0.01 | 39.74 ▲2.63 | 36.20 ▲1.77 |
Add New Post /wp-admin/post-new.php | 6,521 ▲4,987 | 20.22 ▼2.82 | 892.82 ▲264.61 | 61.66 ▼2.88 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.20 ▲0.02 | 95.41 ▼6.03 | 41.71 ▼1.93 |
Simple Permissions /wp-admin/simple-permissions.php | 26 | 0.44 | 0.13 | 13.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- SimplePermissionsAdminOptions
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 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 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/simple-permissions/simple-permissions.php:48
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- > GET request to /wp-admin/simple-permissions.php
- > Network (severe)
wp-admin/simple-permissions.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: There were no tags found
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== simple-permissions ===
) - Donate link: Please fix this invalid url: ""
simple-permissions/simple-permissions.php Passed 13 tests
The main file in "Simple Permissions" v. 1.2.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
61 characters long description:
Create simple permission groups for reading or editing posts.
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
Good job! No executable or dangerous file extensions detected755 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 68 | 96 | 755 |
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.54 |
Average class complexity | 141.00 |
▷ Minimum class complexity | 141.00 |
▷ Maximum class complexity | 141.00 |
Average method complexity | 9.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 67.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 | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin