Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.26MB] [CPU: ▼292.43ms] Passed 4 tests
Server-side resources used by Beautiful Stat Counter Plugin for WordPress - Everest Counter Lite
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.84 ▲0.32 | 57.46 ▲8.26 |
Dashboard /wp-admin | 3.71 ▲0.30 | 39.31 ▲7.35 |
Posts /wp-admin/edit.php | 3.94 ▲0.30 | 45.70 ▲9.73 |
Add New Post /wp-admin/post-new.php | 7.14 ▲0.17 | 96.72 ▼1,186.47 |
Media Library /wp-admin/upload.php | 3.58 ▲0.28 | 25.51 ▲1.14 |
More WordPress Stuff /wp-admin/edit.php?post_type=everest-counter&page=about-us | 3.60 | 27.97 |
All Everest Counter /wp-admin/edit.php?post_type=everest-counter | 3.71 | 31.69 |
Add New Everest Counter /wp-admin/post-new.php?post_type=everest-counter | 4.13 | 55.08 |
Server storage [IO: ▲3.15MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 59 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_ec_widget |
Browser metrics Passed 4 tests
Beautiful Stat Counter Plugin for WordPress - Everest Counter Lite: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,229 ▲485 | 18.29 ▲2.72 | 9.18 ▲3.40 | 2.07 ▼0.14 |
Dashboard /wp-admin | 3,190 ▲329 | 7.84 ▲1.54 | 148.63 ▲15.81 | 142.42 ▼23.06 |
Posts /wp-admin/edit.php | 3,022 ▲331 | 5.41 ▲2.17 | 85.96 ▲21.26 | 135.91 ▼6.25 |
Add New Post /wp-admin/post-new.php | 1,747 ▲86 | 17.40 ▲0.24 | 405.90 ▼9.96 | 153.41 ▼6.99 |
Media Library /wp-admin/upload.php | 1,801 ▲100 | 6.33 ▲0.82 | 111.64 ▼31.12 | 181.11 ▼3.88 |
More WordPress Stuff /wp-admin/edit.php?post_type=everest-counter&page=about-us | 1,921 | 12.31 | 244.60 | 198.53 |
All Everest Counter /wp-admin/edit.php?post_type=everest-counter | 1,719 | 5.15 | 83.19 | 102.99 |
Add New Everest Counter /wp-admin/post-new.php?post_type=everest-counter | 18,310 | 6.72 | 205.22 | 166.49 |
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
- Zombie WordPress options were found after uninstall: 1 option
- widget_ec_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 0% 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
Almost there! Just fix the following items
- 17× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/everest-counter-lite/inc/frontend/ec-shortcode.php
- > /wp-content/plugins/everest-counter-lite/inc/frontend/templates/parts/feature-item.php
- > /wp-content/plugins/everest-counter-lite/everest-counter-lite.php
- > /wp-content/plugins/everest-counter-lite/inc/backend/meta-boxes/add_items.php
- > /wp-content/plugins/everest-counter-lite/inc/backend/register-post-type-and-meta-boxes.php
- > /wp-content/plugins/everest-counter-lite/inc/frontend/templates/common-template.php
- > /wp-content/plugins/everest-counter-lite/inc/backend/widget.php
- > /wp-content/plugins/everest-counter-lite/inc/backend/meta-boxes/item.php
- > /wp-content/plugins/everest-counter-lite/inc/frontend/templates/parts/overlay.php
- > /wp-content/plugins/everest-counter-lite/inc/frontend/templates/parts/count.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/everest-counter-lite/inc/ecl-block/ecl-block-init.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/everest-counter-lite/inc/plugin_variables.php:654
- > 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 Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
8 plugin tags: stats, number, stats counter, counterup, stat counter...
everest-counter-lite/everest-counter-lite.php Passed 13 tests
"Beautiful Stat Counter Plugin for WordPress - Everest Counter Lite" version 2.0.8's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
90 characters long description:
A plugin to add various stat counters to posts/pages content using shortcodes and widgets.
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
There were no executable files found in this plugin10,480 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 80 | 111 | 3,038 |
PHP | 20 | 281 | 729 | 2,781 |
SVG | 1 | 0 | 0 | 2,671 |
JavaScript | 7 | 210 | 268 | 1,990 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 62.33 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 134.00 |
Average method complexity | 3.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 77.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 | 65 | |
▷ Static methods | 12 | 18.46% |
▷ Public methods | 63 | 96.92% |
▷ Protected methods | 2 | 3.08% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.00% |
Constants | 28 | |
▷ Global constants | 19 | 67.86% |
▷ Class constants | 9 | 32.14% |
▷ Public constants | 9 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
9 PNG files occupy 1.33MB with 0.78MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/googleplus.png | 1.91KB | 0.99KB | ▼ 48.06% |
images/flicker.png | 1.45KB | 0.57KB | ▼ 60.47% |
images/twitter.png | 1.74KB | 0.81KB | ▼ 53.33% |
images/customize.png | 24.05KB | 8.41KB | ▼ 65.05% |
images/theme.png | 52.01KB | 17.38KB | ▼ 66.59% |