Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼11.06ms] Passed 4 tests
This is a short check of server-side resources used by Tiny Desk Pixel
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 35.34 ▼0.53 |
Dashboard /wp-admin | 3.32 ▼0.02 | 48.53 ▼9.27 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 42.21 ▼4.63 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 78.36 ▼22.51 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 30.63 ▼7.81 |
Tiny Desk Pixel /wp-admin/options-general.php?page=tiny-desk-pixel | 3.21 | 29.40 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Tiny Desk Pixel
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,908 ▲162 | 13.42 ▼1.11 | 8.45 ▲6.80 | 41.00 ▲1.80 |
Dashboard /wp-admin | 2,197 ▲20 | 5.55 ▼0.10 | 80.48 ▼3.94 | 37.35 ▼6.11 |
Posts /wp-admin/edit.php | 2,108 ▲11 | 2.16 ▲0.20 | 33.52 ▼2.26 | 34.70 ▼0.05 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.58 ▲0.44 | 687.58 ▼2.66 | 55.14 ▼0.80 |
Media Library /wp-admin/upload.php | 1,408 ▲8 | 4.17 ▲0.05 | 98.44 ▼22.55 | 41.49 ▼6.96 |
Tiny Desk Pixel /wp-admin/options-general.php?page=tiny-desk-pixel | 804 | 2.00 | 22.75 | 27.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/tiny-desk-pixel/admin/partials/tiny-desk-pixel-admin-display.php
- > /wp-content/plugins/tiny-desk-pixel/public/partials/tiny-desk-pixel-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== tiny-desk-pixel ===
) - Donate link: Invalid URI ("www.thetradedesk.com")
tiny-desk-pixel/tiny-desk-pixel.php Passed 13 tests
This is the main PHP file of "Tiny Desk Pixel" version 1.0.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
104 characters long description:
It helps you add easily your tracking tag from Tiny Desk by just giving your advertiser id and pixel id.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin265 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 122 | 574 | 238 |
JavaScript | 2 | 3 | 27 | 27 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 2.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 29 | |
▷ Static methods | 2 | 6.90% |
▷ Public methods | 24 | 82.76% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 17.24% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected