Benchmarks
Plugin footprint 40% 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
- > Deprecated in wp-content/plugins/glome-basic/includes/one_time_login_widget.php+93
Function create_function() is deprecated
Server metrics [RAM: ▼2.08MB] [CPU: ▼61.17ms] Passed 4 tests
An overview of server-side resources used by Glome
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.20 ▼1.53 | 5.86 ▼40.97 |
Dashboard /wp-admin | 2.22 ▼1.41 | 9.05 ▼53.22 |
Posts /wp-admin/edit.php | 2.22 ▼1.46 | 6.31 ▼46.28 |
Add New Post /wp-admin/post-new.php | 2.22 ▼3.93 | 6.74 ▼104.22 |
Media Library /wp-admin/upload.php | 2.22 ▼1.27 | 7.76 ▼28.66 |
Glome /wp-admin/options-general.php?page=glome_settings | 2.22 | 8.99 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 47 new files
Database: no new tables, 14 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_glome_show_key |
theysaidso_admin_options |
glome_plugin_activation_message |
widget_glome_one_time_login |
widget_glome_scanner |
widget_recent-comments |
glome_api_domain |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Glome
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,946 ▲185 | 14.26 ▲0.08 | 20.66 ▲18.82 | 42.23 ▲2.23 |
Dashboard /wp-admin | 2,206 ▲26 | 5.62 ▼0.03 | 93.47 ▼1.11 | 44.41 ▲4.05 |
Posts /wp-admin/edit.php | 2,114 ▲14 | 2.05 ▲0.04 | 36.61 ▼2.44 | 35.51 ▼2.05 |
Add New Post /wp-admin/post-new.php | 1,536 ▼9 | 17.39 ▼6.00 | 692.73 ▲27.40 | 57.17 ▲0.48 |
Media Library /wp-admin/upload.php | 1,411 ▲8 | 4.29 ▲0.09 | 106.37 ▲0.18 | 45.58 ▼4.57 |
Glome /wp-admin/options-general.php?page=glome_settings | 787 | 2.07 | 26.91 | 29.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/glome-basic/includes/one_time_login_widget.php+93
Function create_function() is deprecated
- This plugin did not uninstall successfully, leaving 14 options in the database
- widget_glome_one_time_login
- widget_glome_show_qr_widget
- widget_glome_show_key
- widget_recent-posts
- widget_recent-comments
- widget_glome_scanner
- glome_plugin_activation_message
- widget_gnb
- widget_theysaidso_widget
- db_upgraded
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 6 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=glome_settings
- > Deprecated in wp-content/plugins/glome-basic/includes/enter_key_widget.php+91
Function create_function() is deprecated
SRP 0% 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 take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/glome-basic/templates/gnb.php
- 29× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/glome-basic/includes/show_qr_widget.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/glome-basic/includes/glome_plugin_profile_page.php:41
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/glome-basic/includes/show_key_widget.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/glome-basic/includes/ui.php:39
- > PHP Notice
Undefined variable: args in wp-content/plugins/glome-basic/templates/key_login.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/glome-basic/templates/show_qr.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/glome-basic/includes/glome_plugin_admin_page.php:101
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/glome-basic/templates/paired_devices.php:14
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/glome-basic/includes/one_time_login_widget.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/glome-basic/templates/scanner.php:3
- > 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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: privacy, personalization, anonymity, linking, glome
glome-basic/glome.php 92% from 13 tests
The entry point to "Glome" version 1.10 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("glome-basic.php" instead of "glome.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
Success! There were no dangerous files found in this plugin2,721 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 28 | 253 | 294 | 1,524 |
JavaScript | 11 | 111 | 175 | 664 |
PO File | 2 | 176 | 256 | 294 |
CSS | 1 | 35 | 4 | 239 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 2.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 26 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 48 | |
▷ Named functions | 48 | 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 images were found in this plugin