Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼1.58ms] Passed 4 tests
An overview of server-side resources used by Setting up the WordPress login template
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 36.45 ▼2.16 |
Dashboard /wp-admin | 3.41 ▲0.10 | 51.92 ▲2.01 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 52.83 ▲6.83 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 85.68 ▼13.01 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 59.30 ▲24.20 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 30 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Setting up the WordPress login template
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,098 ▲363 | 14.66 ▲0.50 | 1.73 ▼0.16 | 39.47 ▼5.60 |
Dashboard /wp-admin | 2,497 ▲306 | 6.43 ▲0.53 | 124.46 ▲23.74 | 40.17 ▼6.31 |
Posts /wp-admin/edit.php | 2,256 ▲167 | 3.38 ▲1.33 | 46.83 ▲9.23 | 30.28 ▼0.68 |
Add New Post /wp-admin/post-new.php | 1,552 ▲10 | 23.92 ▲5.76 | 629.57 ▼77.89 | 29.96 ▼23.77 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.29 ▲0.03 | 89.66 ▼19.31 | 46.79 ▼0.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-includes/pluggable.php' (include_path='.:/usr/share/php') in wp-content/plugins/formulario-de-logueo/libs/class.principal.php on line 2
- > PHP Warning
require_once(ABSPATHwp-includes/pluggable.php): failed to open stream: No such file or directory in wp-content/plugins/formulario-de-logueo/libs/class.principal.php on line 2
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/formulario-de-logueo/libs/class.principal.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/formulario-de-logueo/views/dashboard.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 83% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: wp-login, wp-admin, admin, login template, login
formulario-de-logueo/loginwebferrol.php 62% from 13 tests
The entry point to "Setting up the WordPress login template" version 1.3.7 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 157 characters long)
- Requires PHP: The required version number did not match the one declared in readme.txt ("7.2" instead of "7.3")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("formulario-de-logueo.php" instead of "loginwebferrol.php")
- Domain Path: You should use only dashes and lowercase characters for the domain path ("./languages")
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 plugin620 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 45 | 110 | 267 |
PO File | 2 | 36 | 48 | 97 |
SVG | 1 | 0 | 1 | 74 |
JavaScript | 2 | 7 | 12 | 64 |
CSS | 2 | 9 | 2 | 59 |
Sass | 1 | 3 | 40 | 59 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 11 | 40.74% |
▷ Public methods | 27 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin