Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼2.00ms] Passed 4 tests
This is a short check of server-side resources used by SimpleShib
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 41.26 ▲3.74 |
Dashboard /wp-admin | 3.39 ▲0.09 | 47.82 ▲0.03 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 48.32 ▲1.41 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 83.39 ▼8.55 |
Media Library /wp-admin/upload.php | 3.31 ▲0.09 | 33.90 ▼0.88 |
SimpleShib /wp-admin/options-general.php?page=simpleshib_settings | 3.28 | 33.25 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by SimpleShib
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 14.41 ▲0.03 | 1.82 ▲0.05 | 44.00 ▼7.29 |
Dashboard /wp-admin | 2,210 ▲25 | 4.85 ▼0.05 | 108.39 ▲4.15 | 40.58 ▼0.41 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 2.02 ▼0.05 | 35.81 ▼1.91 | 33.81 ▼0.51 |
Add New Post /wp-admin/post-new.php | 1,545 ▲9 | 18.20 ▼5.00 | 630.02 ▼47.96 | 51.16 ▼8.02 |
Media Library /wp-admin/upload.php | 1,392 ▲10 | 4.21 ▼0.13 | 97.36 ▼2.48 | 43.56 ▼3.44 |
SimpleShib /wp-admin/options-general.php?page=simpleshib_settings | 957 | 2.03 | 27.44 | 31.72 |
Uninstaller [IO: ▲0.03MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Incomplete uninstall procedure, leaving 5 files (0.03MB) in the plugin directory
- (new file) uninstall.php
- (new file) class-simple-shib.php
- (new file) simpleshib.php
- (new file) readme.txt
- (new file) LICENSE
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
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/simpleshib/simpleshib.php
- > /wp-content/plugins/simpleshib/uninstall.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: login, authentication, sso, shibboleth
simpleshib/simpleshib.php Passed 13 tests
"SimpleShib" version 1.2.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
50 characters long description:
User authentication via Shibboleth Single Sign-On.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin408 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 87 | 307 | 408 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 63.00 |
▷ Minimum class complexity | 63.00 |
▷ Maximum class complexity | 63.00 |
Average method complexity | 4.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.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 | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 72.22% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 27.78% |
Functions | 4 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 4 | 100.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.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
No PNG images were found in this plugin