Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼2.12ms] Passed 4 tests
This is a short check of server-side resources used by IP Tracking by Gambit Nash
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.03 | 37.39 ▼4.48 |
Dashboard /wp-admin | 3.37 ▲0.07 | 48.82 ▼5.37 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 50.20 ▲2.57 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 96.89 ▲0.04 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 36.26 ▲1.35 |
GN IP Tracking /wp-admin/options-general.php?page=gn-ip-tracking | 3.26 | 31.12 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
gn-ip-tracking |
Browser metrics Passed 4 tests
This is an overview of browser requirements for IP Tracking by Gambit Nash
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲103 | 14.44 ▲0.16 | 1.87 ▼0.02 | 42.24 ▼4.54 |
Dashboard /wp-admin | 2,219 ▲34 | 5.86 ▲0.01 | 107.40 ▲5.75 | 43.40 ▼2.67 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.06 ▲0.06 | 39.71 ▲5.11 | 33.94 ▲0.29 |
Add New Post /wp-admin/post-new.php | 1,519 ▼14 | 17.39 ▼5.83 | 652.01 ▼20.11 | 54.91 ▲3.08 |
Media Library /wp-admin/upload.php | 1,394 ▲6 | 4.31 ▲0.11 | 94.43 ▼19.22 | 40.59 ▼6.02 |
GN IP Tracking /wp-admin/options-general.php?page=gn-ip-tracking | 786 | 2.06 | 23.57 | 26.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- gn-ip-tracking
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests Passed 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 Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Screenshots: Screenshot #1 (The IP Tracking Dashboard (External service)) image required
- Tags: There are too many tags (18 tag instead of maximum 10)
gn-ip-tracking/gn-ip-tracking.php 92% from 13 tests
The main file in "IP Tracking by Gambit Nash" v. 1.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 226 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected835 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Markdown | 2 | 150 | 0 | 550 |
PHP | 5 | 86 | 200 | 239 |
PO File | 1 | 14 | 16 | 38 |
CSS | 1 | 2 | 5 | 8 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 9.67 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 1.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 28 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 26 | 92.86% |
▷ Protected methods | 2 | 7.14% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.29MB with 0.20MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 110.49KB | 32.17KB | ▼ 70.89% |
screenshot-3.png | 149.64KB | 50.42KB | ▼ 66.31% |
screenshot-2.png | 36.36KB | 10.27KB | ▼ 71.76% |