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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼137.48ms] Passed 4 tests
An overview of server-side resources used by WP Tracking Manager
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.90 ▲0.06 | 32.57 ▼4.21 |
Dashboard /wp-admin | 3.13 ▲0.07 | 44.49 ▲6.54 |
Posts /wp-admin/edit.php | 3.18 ▲0.07 | 42.71 ▲4.81 |
Add New Post /wp-admin/post-new.php | 5.49 ▲0.06 | 92.30 ▼549.85 |
Media Library /wp-admin/upload.php | 3.07 ▲0.07 | 31.25 ▼0.66 |
WP Tracking Manager /wp-admin/options-general.php?page=wp_tracking_manager | 3.05 | 31.37 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by WP Tracking Manager
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,713 ▲117 | 15.76 ▲0.30 | 8.37 ▲0.05 | 46.62 ▼8.67 |
Dashboard /wp-admin | 2,994 ▲63 | 6.09 ▲0.19 | 133.20 ▼13.70 | 114.06 ▲13.01 |
Posts /wp-admin/edit.php | 2,760 ▲21 | 2.70 ▲0.00 | 73.57 ▲8.69 | 94.63 ▲3.79 |
Add New Post /wp-admin/post-new.php | 1,509 ▼163 | 18.79 ▼0.28 | 358.12 ▼31.67 | 104.81 ▼7.90 |
Media Library /wp-admin/upload.php | 1,828 ▲18 | 5.00 ▼0.04 | 144.37 ▼13.60 | 124.11 ▼3.87 |
WP Tracking Manager /wp-admin/options-general.php?page=wp_tracking_manager | 1,464 | 2.13 | 58.26 | 126.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully
Smoke tests 75% from 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 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-tracking-manager/lib/settings.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
wp-tracking-manager/wp-tracking-manager.php Passed 13 tests
"WP Tracking Manager" version 1.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
127 characters long description:
Very Simple plugin to add any type of tracking code on your website in a second and also block the direct access to thank page.
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
Everything looks great! No dangerous files found in this plugin422 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 32 | 110 | 410 |
JavaScript | 1 | 0 | 1 | 11 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 26.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 3.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 18 | |
▷ Static methods | 2 | 11.11% |
▷ Public methods | 18 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin