Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
- Install procedure had errors
- > Warning in wp-includes/functions.php+6691
file_get_contents(wp-content/plugins/geodirectory/geodirectory.php): failed to open stream: No such file or directory
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.00ms] Passed 4 tests
A check of server-side resources used by GeoPerks - special sauce for GeoDirectory
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.09 ▼0.92 |
Dashboard /wp-admin | 3.31 ▲0.00 | 50.61 ▼3.00 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 53.64 ▲0.85 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 99.17 ▼8.93 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.45 ▲1.83 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
GeoPerks - special sauce for GeoDirectory: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,850 ▲89 | 13.62 ▼0.70 | 5.09 ▲3.47 | 37.25 ▼2.79 |
Dashboard /wp-admin | 2,224 ▲21 | 5.88 ▲0.99 | 100.57 ▼17.38 | 43.01 ▼4.21 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.01 ▲0.00 | 40.68 ▲3.12 | 37.98 ▲3.79 |
Add New Post /wp-admin/post-new.php | 1,545 ▲14 | 23.01 ▼0.29 | 625.77 ▼27.25 | 52.92 ▲1.34 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.21 ▲0.01 | 98.44 ▼11.84 | 42.22 ▼3.74 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/geoperks-for-geodirectory/includes/insert-shortcode-js.php
- > /wp-content/plugins/geoperks-for-geodirectory/perks/feature-2/includes/insert-shortcode-js.php
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/geoperks-for-geodirectory/perks/feature-2/perk-run.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/geoperks-for-geodirectory/geoperks-for-geodirectory.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/geoperks-for-geodirectory/admin/manage_perks.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/geoperks-for-geodirectory/perks/feature-1/perk-init.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: beaver builder, listings, powerpack for beaver builder, directory plugin, business directory
geoperks-for-geodirectory/geoperks-for-geodirectory.php 92% from 13 tests
The main PHP script in "GeoPerks - special sauce for GeoDirectory" version 1.0 is automatically included on every request by WordPress
The following require your attention:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
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
Everything looks great! No dangerous files found in this plugin419 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 111 | 14 | 355 |
JavaScript | 2 | 22 | 3 | 60 |
CSS | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 10.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 2.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 21 | 100.00% |
▷ Public methods | 21 | 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 | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin