Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲1.08MB] [CPU: ▲57.47ms] Passed 4 tests
Analyzing server-side resources used by EZPZ SAML SP Single Sign On (SSO)
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.74 ▲1.27 | 104.33 ▲62.77 |
Dashboard /wp-admin | 4.39 ▲1.04 | 110.76 ▲49.15 |
Posts /wp-admin/edit.php | 4.49 ▲1.13 | 117.71 ▲63.06 |
Add New Post /wp-admin/post-new.php | 6.97 ▲1.08 | 163.42 ▲54.90 |
Media Library /wp-admin/upload.php | 4.31 ▲1.08 | 110.78 ▲74.10 |
Configure /wp-admin/admin.php?page=ezpzsp | 4.26 | 93.67 |
Server storage [IO: ▲0.59MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 62 new files
Database: 3 new tables, 6 new options
New tables |
---|
wp_institution_meta |
wp_institutions |
wp_institution_settings |
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
EZPZ SAML SP Single Sign On (SSO): an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲62 | 14.76 ▲0.43 | 1.90 ▼0.00 | 39.83 ▲1.62 |
Dashboard /wp-admin | 2,228 ▲54 | 5.65 ▲0.03 | 93.90 ▲1.10 | 41.78 ▲0.89 |
Posts /wp-admin/edit.php | 2,130 ▲27 | 2.04 ▲0.03 | 40.25 ▲1.89 | 36.80 ▲0.13 |
Add New Post /wp-admin/post-new.php | 1,570 ▲39 | 20.98 ▼2.41 | 709.36 ▲68.87 | 60.00 ▼2.53 |
Media Library /wp-admin/upload.php | 1,430 ▲27 | 4.23 ▼0.02 | 101.72 ▼0.73 | 48.20 ▲5.35 |
Configure /wp-admin/admin.php?page=ezpzsp | 955 | 2.17 | 23.73 | 31.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie tables detected upon uninstall: 3 tables
- wp_institutions
- wp_institution_meta
- wp_institution_settings
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=ezpzsp
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'EZPZCommon' not found in wp-content/plugins/ezpz-sp/class/wps_saml.class.php:10
- > PHP Fatal error
Uncaught Error: Class 'EZPZCommon' not found in wp-content/plugins/ezpz-sp/class/wps_auth.class.php:10
- > PHP Fatal error
Uncaught Error: Class 'EZPZCommon' not found in wp-content/plugins/ezpz-sp/class/wps_post.class.php:11
- > PHP Fatal error
Uncaught Error: Class 'EZPZCommon' not found in wp-content/plugins/ezpz-sp/class/wps_institution.class.php:11
- > PHP Fatal error
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 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Contributors: The plugin contributors field is not present
- Screenshots: These screenshots require images: #1 (SP Settings Page), #2 (Login Options Page), #3 (Protecting Per Page / Post)
ezpz-sp/ezpzsp.php 92% from 13 tests
This is the main PHP file of "EZPZ SAML SP Single Sign On (SSO)" version 1.2.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("ezpz-sp.php" instead of "ezpzsp.php")
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
Good job! No executable or dangerous file extensions detected11,050 lines of code in 54 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 34 | 1,410 | 3,053 | 7,282 |
XSD | 12 | 233 | 40 | 2,414 |
Markdown | 2 | 395 | 0 | 1,228 |
JSON | 5 | 1 | 0 | 108 |
XML | 1 | 0 | 0 | 18 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 54.96 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 184.00 |
Average method complexity | 4.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 72.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 24 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 24 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 335 | |
▷ Static methods | 73 | 21.79% |
▷ Public methods | 297 | 88.66% |
▷ Protected methods | 4 | 1.19% |
▷ Private methods | 34 | 10.15% |
Functions | 8 | |
▷ Named functions | 6 | 75.00% |
▷ Anonymous functions | 2 | 25.00% |
Constants | 154 | |
▷ Global constants | 1 | 0.65% |
▷ Class constants | 153 | 99.35% |
▷ Public constants | 153 | 100.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 files were detected