Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > Warning in wp-content/plugins/ldap-wp-login-integration-with-active-directory/Ladp_auth.php+13
require_once(ldap_feedback_form.php): failed to open stream: No such file or directory
Server metrics [RAM: ▼0.01MB] [CPU: ▼9.03ms] Passed 4 tests
This is a short check of server-side resources used by Ldap WP Login / Active Directory Integration
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.62 ▼1.77 |
Dashboard /wp-admin | 3.31 ▼0.04 | 42.46 ▼19.81 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.61 ▲0.52 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 78.61 ▼15.05 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.57 ▲5.24 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ldap WP Login / Active Directory Integration
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.27 ▼0.08 | 1.62 ▼0.36 | 38.25 ▼4.99 |
Dashboard /wp-admin | 2,189 ▲12 | 5.54 ▼0.08 | 85.89 ▼5.50 | 37.60 ▼3.64 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▲0.05 | 36.58 ▼1.69 | 32.38 ▼3.57 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.24 ▲0.10 | 668.11 ▼2.08 | 67.51 ▲12.34 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.19 ▼0.00 | 111.21 ▼1.40 | 47.33 ▼2.07 |
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
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
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 take a closer look at the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
require_once(): Failed opening required 'ldap_feedback_form.php' (include_path='.:/usr/share/php') in wp-content/plugins/ldap-wp-login-integration-with-active-directory/Ladp_auth.php on line 13
- > PHP Warning
require_once(ldap_feedback_form.php): failed to open stream: No such file or directory in wp-content/plugins/ldap-wp-login-integration-with-active-directory/Ladp_auth.php on line 13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% 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
Attributes that need to be fixed:
- Screenshots: Add images for these screenshots: #1 (LDAP Configuration.), #2 (LDAP login setup), #3 (Attributes Mapping from AD to WP users.), #4 (Role Mapping automatically map AD groups to the WP roles.)
ldap-wp-login-integration-with-active-directory/Ladp_auth.php 92% from 13 tests
The main file in "Ldap WP Login / Active Directory Integration" v. 3.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("ldap-wp-login-integration-with-active-directory.php" instead of "Ladp_auth.php")
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 plugin1,564 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 364 | 83 | 1,348 |
CSS | 1 | 42 | 1 | 216 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 52.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 104.00 |
Average method complexity | 7.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 87.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 15 | 60.00% |
▷ Public methods | 25 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin