Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.33ms] Passed 4 tests
A check of server-side resources used by Simple Login SC
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.50 ▼1.68 |
Dashboard /wp-admin | 3.31 ▲0.01 | 48.61 ▼2.30 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.51 ▼0.11 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 98.67 ▼7.84 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.56 ▼1.51 |
Simple Login SC /wp-admin/tools.php?page=simple_login_sc | 3.17 | 33.79 |
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: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Simple Login SC
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.35 ▲0.08 | 1.97 ▲0.12 | 43.60 ▲1.36 |
Dashboard /wp-admin | 2,196 ▲16 | 5.48 ▼0.19 | 88.68 ▼1.17 | 38.79 ▼5.26 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.00 ▲0.02 | 33.54 ▼3.36 | 35.32 ▼0.12 |
Add New Post /wp-admin/post-new.php | 1,530 ▲4 | 23.01 ▼0.16 | 634.05 ▼47.59 | 63.43 ▲3.81 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.27 ▲0.10 | 102.82 ▲0.86 | 43.62 ▼0.27 |
Simple Login SC /wp-admin/tools.php?page=simple_login_sc | 886 | 1.99 | 23.97 | 29.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- 17 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=simple_login_sc
- > Warning in wp-content/plugins/simple-login-sc/simple_login_sc.php+110
Use of undefined constant slsc - assumed 'slsc' (this will throw an Error in a future version of PHP)
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 fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-login-sc/simple_login_sc.php:136
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: wpml, widget, shortcode, login
simple-login-sc/simple_login_sc.php 85% from 13 tests
Analyzing the main PHP file in "Simple Login SC" version 0.8
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 148 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("simple-login-sc.php" instead of "simple_login_sc.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin200 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 1 | 22 | 44 | 121 |
PHP | 1 | 27 | 35 | 79 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.05 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin