Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼139.95ms] Passed 4 tests
Server-side resources used by Jijnasu Google Analytics
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.02 | 37.26 ▲2.50 |
Dashboard /wp-admin | 3.08 ▲0.03 | 54.56 ▲10.53 |
Posts /wp-admin/edit.php | 3.13 ▲0.03 | 43.82 ▼3.77 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 92.03 ▼563.16 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 40.83 ▲4.63 |
Jijnasu GA /wp-admin/options-general.php?page=jijnasu-google-analytics | 2.99 | 32.64 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Jijnasu Google Analytics: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,690 ▲118 | 16.06 ▲0.43 | 24.57 ▲15.40 | 44.58 ▼3.34 |
Dashboard /wp-admin | 2,972 ▲41 | 5.89 ▼0.05 | 149.06 ▲0.51 | 108.50 ▼3.40 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.71 ▼0.02 | 66.69 ▼0.48 | 89.50 ▼7.12 |
Add New Post /wp-admin/post-new.php | 1,686 ▲3 | 18.14 ▼0.24 | 416.13 ▲1.82 | 104.65 ▼5.18 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.05 ▲0.09 | 168.95 ▲2.96 | 151.49 ▲17.89 |
Jijnasu GA /wp-admin/options-general.php?page=jijnasu-google-analytics | 1,049 | 2.22 | 61.26 | 94.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
Please fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/jijnasu-google-analytics/jijnasu-google-analytics.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% 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:
- Screenshots: Please add an image for screenshot #1 (Jijnasu Google Analytics Settings page.)
jijnasu-google-analytics/jijnasu-google-analytics.php 77% from 13 tests
"Jijnasu Google Analytics" version 1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Version: The version number should only use digits and periods (ex. "1.0.3" instead of "1")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin93 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 16 | 37 | 93 |
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.36 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.04MB with 0.03MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 45.83KB | 19.57KB | ▼ 57.30% |