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
This plugin's installer ran successfully
Server metrics [RAM: ▼0.17MB] [CPU: ▼13.87ms] Passed 4 tests
Server-side resources used by Codup Read Only Admin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.00 ▼3.60 |
Dashboard /wp-admin | 3.33 ▼0.02 | 50.93 ▼9.78 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 51.13 ▼16.47 |
Add New Post /wp-admin/post-new.php | 5.16 ▼0.73 | 72.25 ▼25.64 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.90 ▲2.49 |
Custom Page /wp-admin/admin.php?page=error-404 | 3.24 | 30.41 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Codup Read Only Admin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲69 | 13.33 ▼1.08 | 1.76 ▼0.06 | 44.25 ▲1.83 |
Dashboard /wp-admin | 2,221 ▲21 | 5.87 ▲0.01 | 107.45 ▼2.67 | 39.27 ▼0.93 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.16 ▲0.14 | 39.38 ▼0.75 | 34.29 ▲4.45 |
Add New Post /wp-admin/post-new.php | 1,545 ▲14 | 23.16 ▲0.02 | 610.63 ▼75.83 | 55.44 ▲0.83 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.24 ▲0.05 | 104.28 ▲3.65 | 47.82 ▲2.38 |
Custom Page /wp-admin/admin.php?page=error-404 | 762 | 2.02 | 25.26 | 25.27 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Screenshots: Add descriptions for screenshots #1, #2 in codup-read-only-admin/assets to your readme.txt
codup-read-only-admin/codup-read-only-admin.php Passed 13 tests
Analyzing the main PHP file in "Codup Read Only Admin" version 1.1.1.8
61 characters long description:
This plugins allows to create an admin with read only access.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin239 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 45 | 104 | 217 |
JavaScript | 1 | 4 | 5 | 19 |
CSS | 1 | 2 | 0 | 3 |
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.35 |
Average class complexity | 26.00 |
▷ Minimum class complexity | 26.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 2.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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 images were found in this plugin