Benchmarks
Plugin footprint Passed 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: ▼143.37ms] Passed 4 tests
An overview of server-side resources used by Rakam Link Tracking
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.12 | 34.16 ▲13.31 |
Dashboard /wp-admin | 3.08 ▲0.02 | 48.66 ▲4.45 |
Posts /wp-admin/edit.php | 3.14 ▲0.02 | 45.92 ▲0.46 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.01 | 93.35 ▼577.85 |
Media Library /wp-admin/upload.php | 3.03 ▲0.01 | 37.38 ▼0.54 |
Rakam Link Tracking /wp-admin/options-general.php?page=rakam-link-tracking | 3.00 | 27.46 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Rakam Link Tracking: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,684 ▲88 | 15.87 ▲0.24 | 8.65 ▼1.92 | 45.32 ▼4.16 |
Dashboard /wp-admin | 2,975 ▲44 | 6.01 ▲0.05 | 136.24 ▼7.93 | 118.73 ▲0.80 |
Posts /wp-admin/edit.php | 2,744 ▲8 | 2.72 ▲0.02 | 62.53 ▼3.16 | 91.29 ▼2.24 |
Add New Post /wp-admin/post-new.php | 1,507 ▲7 | 18.48 ▼0.01 | 370.61 ▲8.19 | 103.50 ▼10.84 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.03 ▲0.02 | 139.40 ▼14.86 | 123.04 ▼2.93 |
Rakam Link Tracking /wp-admin/options-general.php?page=rakam-link-tracking | 1,041 | 2.10 | 54.55 | 84.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
2 plugin tags: google analytics, utm tracking
rakam-link-tracking/rakam-link-tracking.php 92% from 13 tests
The primary PHP file in "Rakam Link Tracking" version 1.0.1 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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
Success! There were no dangerous files found in this plugin157 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 30 | 14 | 114 |
PO File | 1 | 8 | 10 | 43 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected