Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.75ms] Passed 4 tests
A check of server-side resources used by Wp Tracking Codes
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 37.31 ▼3.64 |
Dashboard /wp-admin | 3.34 ▼0.01 | 45.27 ▼14.98 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 48.87 ▼1.60 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 91.04 ▼6.77 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 33.95 ▲0.23 |
WP Tracking Codes /wp-admin/options-general.php?page=wp-tracking-codes | 3.27 | 31.94 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Wp Tracking Codes
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲47 | 14.67 ▲0.42 | 1.82 ▲0.34 | 37.97 ▼1.06 |
Dashboard /wp-admin | 2,199 ▲25 | 5.61 ▼0.03 | 87.73 ▼9.74 | 40.42 ▲0.59 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 1.94 ▼0.03 | 41.95 ▲0.35 | 35.78 ▲0.28 |
Add New Post /wp-admin/post-new.php | 1,538 ▲12 | 18.38 ▼4.76 | 626.47 ▼13.78 | 63.53 ▲11.37 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.18 ▼0.06 | 96.69 ▼15.98 | 42.54 ▼1.35 |
WP Tracking Codes /wp-admin/options-general.php?page=wp-tracking-codes | 993 | 2.13 | 22.75 | 29.89 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
wp-tracking-codes/wp-tracking-codes.php 92% from 13 tests
This is the main PHP file of "Wp Tracking Codes" version 1.8.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 198 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin789 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 84 | 187 | 789 |
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.46 |
Average class complexity | 22.00 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 3.00 |
▷ 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 | 42 | |
▷ Static methods | 5 | 11.90% |
▷ Public methods | 32 | 76.19% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 23.81% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin