Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.52ms] Passed 4 tests
Server-side resources used by RetargetPal
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.21 ▼2.44 |
Dashboard /wp-admin | 3.32 ▲0.02 | 51.38 ▼3.34 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.90 ▼1.35 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 88.90 ▼18.93 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 42.90 ▲7.30 |
Server storage [IO: ▲1.70MB] [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: 52 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for RetargetPal
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,362 ▲601 | 14.82 ▲0.44 | 1.98 ▲0.27 | 62.80 ▲18.69 |
Dashboard /wp-admin | 2,742 ▲536 | 6.47 ▲1.41 | 116.24 ▲15.56 | 55.23 ▲12.09 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.04 ▼0.01 | 36.58 ▼4.30 | 54.46 ▲14.24 |
Add New Post /wp-admin/post-new.php | 1,526 ▼28 | 17.63 ▼0.81 | 679.28 ▲50.13 | 64.13 ▲3.29 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.25 ▼0.01 | 110.12 ▲0.71 | 48.82 ▲1.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means 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 fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/retargetpal/RetargetPal.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: online marketing, retargeting, social media
retargetpal/RetargetPal.php 85% from 13 tests
The main PHP file in "RetargetPal" ver. 1.1.1 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("retargetpal.php" instead of "RetargetPal.php")
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
There were no executable files found in this plugin18,606 lines of code in 57 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 4 | 0 | 0 | 17,523 |
JSX | 21 | 57 | 4 | 704 |
SVG | 8 | 0 | 6 | 144 |
JavaScript | 16 | 19 | 18 | 84 |
PHP | 2 | 26 | 42 | 63 |
Markdown | 1 | 32 | 0 | 38 |
CSS | 3 | 4 | 1 | 29 |
HTML | 2 | 4 | 20 | 21 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 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 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.78MB with 0.58MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
retargetpal-dashborad/public/assests/images/second-section.png | 399.63KB | 100.48KB | ▼ 74.86% |
retargetpal-dashborad/build/assests/images/second-section.png | 399.63KB | 100.48KB | ▼ 74.86% |