Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/geolocaladmin/geolocaladmin_widget.php+14
Methods with the same name as their class will not be constructors in a future version of PHP; geolocaladmin_widget has a deprecated constructor
Server metrics [RAM: ▼1.90MB] [CPU: ▼58.66ms] Passed 4 tests
A check of server-side resources used by GeolocalAdmin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.10 ▼1.36 | 9.28 ▼27.29 |
Dashboard /wp-admin | 2.12 ▼1.22 | 6.68 ▼71.59 |
Posts /wp-admin/edit.php | 2.12 ▼1.24 | 5.64 ▼42.28 |
Add New Post /wp-admin/post-new.php | 2.12 ▼3.77 | 6.10 ▼93.47 |
Media Library /wp-admin/upload.php | 2.12 ▼1.11 | 5.12 ▼26.81 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
widget_geolocaladmin_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for GeolocalAdmin
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,945 ▲159 | 14.74 ▲0.48 | 12.90 ▲11.01 | 36.45 ▼3.43 |
Dashboard /wp-admin | 2,199 ▲25 | 5.79 ▲0.20 | 98.47 ▲13.16 | 44.70 ▲2.26 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▲0.02 | 35.17 ▼1.29 | 31.35 ▼4.06 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.01 ▼0.16 | 655.78 ▼14.23 | 55.67 ▲3.74 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.20 ▲0.00 | 100.46 ▲0.50 | 41.86 ▼3.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/geolocaladmin/geolocaladmin_widget.php+14
Methods with the same name as their class will not be constructors in a future version of PHP; geolocaladmin_widget has a deprecated constructor
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_geolocaladmin_widget
- widget_recent-comments
- widget_recent-posts
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
Good news, no errors were detected
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
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function trailingslashit() in wp-content/plugins/geolocaladmin/geolocaladmin.php:24
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/geolocaladmin/geolocaladmin_widget.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== geolocaladmin ===
)
geolocaladmin/geolocaladmin.php Passed 13 tests
The primary PHP file in "GeolocalAdmin" version 0.1 is used by WordPress to initiate all plugin functionality
130 characters long description:
a plugin to geolocalizate any backend user in order to show this info in post, displaying a googlemap of his last connect place...
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
Good job! No executable or dangerous file extensions detected299 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 51 | 100 | 236 |
JavaScript | 1 | 4 | 15 | 56 |
Markdown | 1 | 2 | 0 | 4 |
CSS | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 2.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 2 | 13.33% |
▷ Public methods | 15 | 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 | 3 | |
▷ Global constants | 3 | 100.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
PNG images were not found in this plugin