Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼143.08ms] Passed 4 tests
Server-side resources used by Force24 Tracking
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.01 | 32.52 ▼4.19 |
Dashboard /wp-admin | 3.08 ▲0.03 | 46.94 ▼0.38 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 47.59 ▼0.19 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 91.69 ▼563.70 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 31.19 ▼4.03 |
Force24 Tracking /wp-admin/options-general.php?page=force24-tracking | 2.97 | 27.31 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 19 new files
Database: no new tables, 1 new option
New WordPress options |
---|
force24_tracking |
Browser metrics Passed 4 tests
An overview of browser requirements for Force24 Tracking
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,684 ▲89 | 16.16 ▲0.63 | 13.23 ▲2.37 | 46.66 ▼3.63 |
Dashboard /wp-admin | 2,972 ▲38 | 5.92 ▼0.12 | 149.38 ▼12.92 | 111.37 ▲2.48 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.84 ▲0.12 | 69.17 ▲2.07 | 93.45 ▲7.07 |
Add New Post /wp-admin/post-new.php | 1,503 ▲3 | 18.55 ▼0.06 | 386.68 ▼19.03 | 110.89 ▼11.32 |
Media Library /wp-admin/upload.php | 1,815 ▲5 | 5.02 ▲0.00 | 150.93 ▼6.78 | 112.45 ▼1.41 |
Force24 Tracking /wp-admin/options-general.php?page=force24-tracking | 1,364 | 2.08 | 56.56 | 91.20 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 1 option
- force24_tracking
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=force24-tracking
- > Notice in wp-content/plugins/force24-tracking/admin/class-force24-tracking-admin.php+451
Undefined index: client_id
- > GET request to /wp-admin/options-general.php?page=force24-tracking
- > Notice in wp-content/plugins/force24-tracking/admin/class-force24-tracking-admin.php+456
Undefined index: form_selector
- > GET request to /wp-admin/options-general.php?page=force24-tracking
- > Notice in wp-content/plugins/force24-tracking/admin/class-force24-tracking-admin.php+462
Undefined index: cookie_domain
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=force24-tracking
- > Notice in wp-content/plugins/force24-tracking/admin/class-force24-tracking-admin.php+470
Undefined index: form_maps
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=force24-tracking
- > Notice in wp-content/plugins/force24-tracking/admin/class-force24-tracking-admin.php+392
Undefined index: form_maps_error
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/force24-tracking/admin/partials/force24-tracking-admin-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: Please add an image for screenshot #1 (These are the options where you can configure your client ID and various other options.)
force24-tracking/force24-tracking.php Passed 13 tests
The primary PHP file in "Force24 Tracking" version 1.2.2 is used by WordPress to initiate all plugin functionality
86 characters long description:
Add and configure the Force24 Tracking and Web Capture on your WordPress installation.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin502 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 189 | 597 | 499 |
JavaScript | 1 | 2 | 27 | 3 |
CSS | 1 | 0 | 4 | 0 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 9.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 2.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 42 | |
▷ Static methods | 3 | 7.14% |
▷ Public methods | 34 | 80.95% |
▷ Protected methods | 3 | 7.14% |
▷ Private methods | 5 | 11.90% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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