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.01MB] [CPU: ▼7.64ms] Passed 4 tests
An overview of server-side resources used by Geo Controller GPS extension
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 36.02 ▼6.97 |
Dashboard /wp-admin | 3.31 ▼0.04 | 44.53 ▼16.88 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.17 ▼0.00 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 95.34 ▼1.24 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.58 ▼5.47 |
Server storage [IO: ▲3.50MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Geo Controller GPS extension
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲64 | 13.36 ▼0.99 | 4.28 ▲2.46 | 42.74 ▼1.30 |
Dashboard /wp-admin | 2,206 ▲18 | 5.90 ▲0.00 | 107.07 ▼3.64 | 41.54 ▼0.25 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.01 ▲0.02 | 41.93 ▲3.81 | 36.60 ▲0.25 |
Add New Post /wp-admin/post-new.php | 1,514 ▼5 | 17.47 ▼4.73 | 604.85 ▼119.66 | 46.50 ▼8.32 |
Media Library /wp-admin/upload.php | 1,385 ▲3 | 4.25 ▲0.02 | 97.04 ▼5.73 | 40.90 ▼5.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 5× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/cf-geoplugin-gps/constants.php
- > /wp-content/plugins/cf-geoplugin-gps/cf-geoplugin-gps.php
- > /wp-content/plugins/cf-geoplugin-gps/inc/classes/GPS.php
- > /wp-content/plugins/cf-geoplugin-gps/inc/Init.php
- > /wp-content/plugins/cf-geoplugin-gps/inc/classes/Requirements.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Tags: You are using too many tags: 13 tag instead of maximum 10
cf-geoplugin-gps/cf-geoplugin-gps.php Passed 13 tests
The primary PHP file in "Geo Controller GPS extension " version 2.1.2 is used by WordPress to initiate all plugin functionality
51 characters long description:
WordPress GPS module for the Geo Controller Plugin.
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
Good job! No executable or dangerous file extensions detected1,153 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 107 | 257 | 695 |
PO File | 2 | 62 | 64 | 259 |
JavaScript | 1 | 24 | 31 | 199 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 3.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 1 | 33.33% |
Methods | 30 | |
▷ Static methods | 7 | 23.33% |
▷ Public methods | 25 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 16.67% |
Functions | 11 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 11 | 100.00% |
Constants | 33 | |
▷ Global constants | 33 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin