Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼3.52ms] Passed 4 tests
A check of server-side resources used by Geocache Stat Bar
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.19 | 44.97 ▼1.71 |
Dashboard /wp-admin | 3.37 ▲0.06 | 53.66 ▼5.61 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 54.58 ▲4.59 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 90.21 ▼10.66 |
Media Library /wp-admin/upload.php | 3.30 ▲0.06 | 40.43 ▲3.90 |
Settings /wp-admin/admin.php?page=gcstb-settings | 3.29 | 38.57 |
GCSTB Plugin /wp-admin/admin.php?page=gcstb-plugin | 3.28 | 37.03 |
About /wp-admin/admin.php?page=gcstb-about | 3.27 | 36.23 |
Server storage [IO: ▲2.50MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 57 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_gcstb_db_statbar |
New WordPress options |
---|
widget_gcstb_widget |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Geocache Stat Bar
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲60 | 14.16 ▼0.19 | 1.97 ▲0.14 | 43.52 ▲1.52 |
Dashboard /wp-admin | 2,227 ▲53 | 5.56 ▼0.11 | 87.24 ▼26.60 | 69.17 ▲24.39 |
Posts /wp-admin/edit.php | 2,135 ▲35 | 1.98 ▼0.01 | 35.87 ▼6.71 | 33.84 ▼3.70 |
Add New Post /wp-admin/post-new.php | 1,558 ▲30 | 23.04 ▲0.03 | 718.26 ▲21.90 | 71.56 ▲21.45 |
Media Library /wp-admin/upload.php | 1,429 ▲26 | 4.18 ▼0.03 | 112.15 ▲0.99 | 81.15 ▲30.83 |
Settings /wp-admin/admin.php?page=gcstb-settings | 1,029 | 2.04 | 25.13 | 30.79 |
GCSTB Plugin /wp-admin/admin.php?page=gcstb-plugin | 1,021 | 1.99 | 22.79 | 32.92 |
About /wp-admin/admin.php?page=gcstb-about | 892 | 2.14 | 22.97 | 30.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure failed, leaving 1 table in the database
- wp_gcstb_db_statbar
- This plugin does not fully uninstall, leaving 7 options in the database
- db_upgraded
- can_compress_scripts
- widget_gcstb_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=gcstb-settings
- > Notice in wp-content/plugins/geocache-stat-bar/includes/gcstb-settings.html.php+145
Undefined variable: user_ID
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/geocache-stat-bar/avatar/avatar.php
- 27× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: lignehides in wp-content/plugins/geocache-stat-bar/avatar/avatar.php on line 202
- > PHP Notice
Undefined variable: avatar in wp-content/plugins/geocache-stat-bar/avatar/avatar.php on line 222
- > PHP Notice
Undefined variable: avatar in wp-content/plugins/geocache-stat-bar/avatar/avatar.php on line 251
- > PHP Notice
Undefined index: imageuid in wp-content/plugins/geocache-stat-bar/avatar/avatar.php on line 20
- > PHP Notice
Undefined index: extension in wp-content/plugins/geocache-stat-bar/avatar/avatar.php on line 26
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/geocache-stat-bar/includes/gcstb-widget-init.php:11
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/geocache-stat-bar/includes/gcstb-db.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function Add_action() in wp-content/plugins/geocache-stat-bar/includes/gcstb-menu.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/geocache-stat-bar/options.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/geocache-stat-bar/includes/gcstb-sidebar.php:2
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Requires php: Invalid version format
geocache-stat-bar/geocache-stat-bar.php Passed 13 tests
The principal PHP file in "Geocache Stat Bar" v. 2.1.2 is loaded by WordPress automatically on each request
39 characters long description:
Affichage de votre Stat Bar Géocaching
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected910 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 175 | 166 | 825 |
CSS | 1 | 17 | 1 | 85 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 4.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
36 PNG files occupy 0.95MB with 0.48MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-772x250.png | 128.32KB | 37.87KB | ▼ 70.49% |
avatar/GCSTB-background-00.png | 2.83KB | 0.09KB | ▼ 96.86% |
images/GCSTB.png | 92.82KB | 25.14KB | ▼ 72.91% |
images/5-16.png | 0.55KB | 0.50KB | ▼ 8.23% |
images/4-16.png | 0.51KB | 0.49KB | ▼ 3.26% |