Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼0.64MB] [CPU: ▼19.57ms] Passed 4 tests
Server-side resources used by Floating Login
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 47.54 ▲1.71 |
Dashboard /wp-admin | 3.37 ▲0.07 | 50.88 ▼5.14 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 45.21 ▼8.44 |
Add New Post /wp-admin/post-new.php | 3.15 ▼2.73 | 37.23 ▼63.35 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.11 ▼1.33 |
Floating Login Settings /wp-admin/options-general.php?page=floating-login/admin-page.php | 3.26 | 38.47 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Floating Login: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,869 ▲108 | 14.82 ▲0.51 | 2.23 ▲0.42 | 51.22 ▲3.14 |
Dashboard /wp-admin | 2,222 ▲22 | 5.76 ▼0.14 | 108.86 ▼2.96 | 44.28 ▲1.50 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 2.02 ▲0.02 | 34.88 ▼4.47 | 36.10 ▲0.40 |
Add New Post /wp-admin/post-new.php | 6,239 ▲4,694 | 25.83 ▲2.57 | 870.97 ▲170.75 | 55.25 ▲6.47 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.19 ▼0.03 | 106.64 ▼0.73 | 44.38 ▼0.18 |
Floating Login Settings /wp-admin/options-general.php?page=floating-login/admin-page.php | 1,525 | 2.93 | 57.55 | 27.42 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 2× 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/floating-login/admin-page.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/floating-login/admin-page.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: logout, box, login, floating, register
floating-login/floating-login.php Passed 13 tests
The entry point to "Floating Login" version 1.2.2 is a PHP file that has certain tags in its header comment area
42 characters long description:
Displays a login/register floating element
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin377 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 20 | 28 | 296 |
CSS | 1 | 0 | 3 | 46 |
JavaScript | 1 | 1 | 1 | 35 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.71 |
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 | 8 | |
▷ Named functions | 8 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected