Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.70ms] Passed 4 tests
A check of server-side resources used by Meta Counter For Groundhogg | An Counter Action Extension
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.14 ▼3.12 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.39 ▼5.45 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.29 ▲1.27 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 84.49 ▼7.50 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 40.64 ▲6.37 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Meta Counter For Groundhogg | An Counter Action Extension
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲70 | 13.36 ▼1.02 | 1.76 ▼0.05 | 38.23 ▼13.57 |
Dashboard /wp-admin | 2,208 ▲20 | 5.82 ▲0.93 | 99.58 ▼20.28 | 39.37 ▼11.80 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.98 ▼0.07 | 39.90 ▲3.58 | 36.19 ▲1.36 |
Add New Post /wp-admin/post-new.php | 1,519 ▼14 | 17.63 ▼5.87 | 671.95 ▼24.54 | 53.20 ▼4.75 |
Media Library /wp-admin/upload.php | 1,396 ▲8 | 4.25 ▲0.05 | 109.89 ▲10.20 | 48.11 ▲1.35 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'Groundhogg\\Roles' not found in wp-content/plugins/meta-counter-groundhogg/includes/roles.php:4
- > PHP Fatal error
Uncaught Error: Class 'Groundhogg\\Updater' not found in wp-content/plugins/meta-counter-groundhogg/includes/updater.php:6
- > PHP Fatal error
Uncaught Error: Class 'Groundhogg\\Extension' not found in wp-content/plugins/meta-counter-groundhogg/includes/plugin.php:10
- > PHP Fatal error
Uncaught Error: Class 'Groundhogg\\Installer' not found in wp-content/plugins/meta-counter-groundhogg/includes/installer.php:7
- > 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 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: marketing automation, crm, wordpress crm, email marketing, email automation
meta-counter-groundhogg/groundhogg-metacounter.php 85% from 13 tests
The main PHP script in "Meta Counter For Groundhogg | An Counter Action Extension" version 1.0 is automatically included on every request by WordPress
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("meta-counter-groundhogg.php" instead of "groundhogg-metacounter.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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 detected273 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 81 | 199 | 273 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 1.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 3 | 10.34% |
▷ Public methods | 20 | 68.97% |
▷ Protected methods | 7 | 24.14% |
▷ Private methods | 2 | 6.90% |
Functions | 5 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 5 | 100.00% |
Constants | 11 | |
▷ Global constants | 10 | 90.91% |
▷ Class constants | 1 | 9.09% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/funnel-icons/meta-counter.png | 15.38KB | 6.24KB | ▼ 59.40% |