Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼302.73ms] Passed 4 tests
Server-side resources used by Wp Tracking Codes
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.22 | 54.91 ▲0.93 |
Dashboard /wp-admin | 3.55 ▲0.14 | 34.96 ▲0.60 |
Posts /wp-admin/edit.php | 3.77 ▲0.13 | 35.89 ▼2.07 |
Add New Post /wp-admin/post-new.php | 7.01 ▲0.04 | 91.83 ▼1,206.75 |
Media Library /wp-admin/upload.php | 3.42 ▲0.13 | 23.27 ▼2.69 |
WP Tracking Codes /wp-admin/options-general.php?page=wp-tracking-codes | 3.40 | 24.52 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Wp Tracking Codes: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,790 ▲36 | 15.91 ▲0.48 | 5.86 ▼0.11 | 2.30 ▼0.75 |
Dashboard /wp-admin | 2,897 ▲36 | 6.11 ▼0.04 | 118.10 ▼15.05 | 157.08 ▼6.82 |
Posts /wp-admin/edit.php | 2,693 ▲21 | 3.23 ▼0.00 | 65.71 ▲0.98 | 140.20 ▼1.57 |
Add New Post /wp-admin/post-new.php | 1,671 ▼40 | 18.07 ▼2.93 | 429.86 ▲2.55 | 160.73 ▼2.89 |
Media Library /wp-admin/upload.php | 1,700 ▲2 | 5.55 ▲0.06 | 138.78 ▼7.17 | 190.70 ▼1.31 |
WP Tracking Codes /wp-admin/options-general.php?page=wp-tracking-codes | 1,277 | 2.37 | 56.20 | 129.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
wp-tracking-codes/wp-tracking-codes.php 92% from 13 tests
The entry point to "Wp Tracking Codes" version 1.7.0 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 240 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected836 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 86 | 180 | 836 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 23.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 3.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 5 | 11.63% |
▷ Public methods | 33 | 76.74% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 23.26% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.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
No PNG files were detected