Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/blaatlogin-base/classes/BlaatLoginService.class.php+3
Methods with the same name as their class will not be constructors in a future version of PHP; BlaatLoginService has a deprecated constructor
Server metrics [RAM: ▼5.35MB] [CPU: ▼780,581.13ms] Passed 4 tests
A check of server-side resources used by BlaatLogin Base
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 19.25 ▲15.74 | 3,129,563.59 ▲3,129,519.07 |
Dashboard /wp-admin | 2.61 ▼16.63 | 7.14 ▼3,122,158.85 |
Posts /wp-admin/edit.php | 2.61 ▼0.79 | 8.29 ▼42.71 |
Add New Post /wp-admin/post-new.php | 2.61 ▼3.32 | 9.57 ▼93.78 |
Media Library /wp-admin/upload.php | 2.61 ▼0.66 | 7.29 ▼29.19 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 11 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_bs_login_generic_options |
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for BlaatLogin Base
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.35 ▼0.25 | 1.79 ▲0.05 | 44.83 ▲2.85 |
Dashboard /wp-admin | 2,189 ▲12 | 5.62 ▼0.05 | 105.77 ▲7.96 | 47.72 ▲1.52 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.96 ▼0.03 | 40.48 ▲6.05 | 37.98 ▲4.39 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.04 ▼0.52 | 664.85 ▼48.88 | 63.96 ▲2.52 |
Media Library /wp-admin/upload.php | 1,397 ▼0 | 4.16 ▼0.03 | 106.06 ▼0.64 | 46.35 ▼4.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/blaatlogin-base/classes/BlaatLoginService.class.php+3
Methods with the same name as their class will not be constructors in a future version of PHP; BlaatLoginService has a deprecated constructor
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_bs_login_generic_options
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
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 no errors were found, this is by no means 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 fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blaatlogin-base/bsauth.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
2 plugin tags: authentication, sso
blaatlogin-base/bsauth.php 92% from 13 tests
The entry point to "BlaatLogin Base" version 0.3 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("blaatlogin-base.php" instead of "bsauth.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin1,014 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 243 | 130 | 989 |
CSS | 2 | 2 | 0 | 23 |
Markdown | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 39.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 153.00 |
Average method complexity | 7.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 60.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 30 | 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 | 6 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 6 | 100.00% |
▷ Public constants | 6 | 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