Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.11MB] [CPU: ▼6.33ms] Passed 4 tests
An overview of server-side resources used by Beetle Tracking - Cloudflare Zaraz for WordPress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 37.35 ▼1.38 |
Dashboard /wp-admin | 3.41 ▲0.11 | 45.45 ▼3.85 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 46.65 ▼0.78 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 83.38 ▼19.29 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 35.99 ▲4.08 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 32 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
beetle_tracking_core_version |
beetle_tracking_updated_at |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Beetle Tracking - Cloudflare Zaraz for WordPress
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,930 ▲168 | 13.83 ▼0.42 | 8.59 ▲6.85 | 41.26 ▼4.40 |
Dashboard /wp-admin | 2,229 ▲52 | 5.63 ▲0.09 | 89.18 ▼5.63 | 40.35 ▲2.32 |
Posts /wp-admin/edit.php | 2,134 ▲34 | 1.99 ▼0.16 | 42.39 ▲4.35 | 35.17 ▼1.72 |
Add New Post /wp-admin/post-new.php | 1,539 ▲2 | 23.22 ▲0.11 | 691.74 ▲86.95 | 59.49 ▲7.58 |
Media Library /wp-admin/upload.php | 1,432 ▲29 | 4.19 ▲0.01 | 99.02 ▼2.94 | 39.85 ▼5.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 8 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- beetle_tracking_updated_at
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- beetle_tracking_core_version
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP Passed 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 SRP test was a success
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)
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Contributors: The plugin contributors field is not present
beetle-tracking/beetle-tracking.php 85% from 13 tests
"Beetle Tracking - Cloudflare Zaraz for WordPress" version 1.2.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 163 characters long)
- Requires PHP: Required version must match the one declared in readme.txt ("7.2" instead of "7.4")
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 plugin1,473 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 222 | 108 | 1,072 |
CSS | 1 | 112 | 0 | 392 |
SVG | 2 | 0 | 0 | 7 |
JavaScript | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 5.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 2.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 20 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 63 | |
▷ Static methods | 24 | 38.10% |
▷ Public methods | 59 | 93.65% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 6.35% |
Functions | 4 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 4 | 100.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
2 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/big-logo.png | 36.44KB | 16.61KB | ▼ 54.41% |
assets/images/logo.png | 0.66KB | 0.65KB | ▼ 1.48% |