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
Install script ran successfully
Server metrics [RAM: ▼0.67MB] [CPU: ▼14.40ms] Passed 4 tests
Analyzing server-side resources used by Relevanzz - Repeat sales with Social Ads
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.24 ▼2.61 |
Dashboard /wp-admin | 3.31 ▲0.01 | 46.80 ▼1.97 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 45.09 ▼0.05 |
Add New Post /wp-admin/post-new.php | 3.19 ▼2.70 | 35.20 ▼52.95 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.23 ▲1.54 |
Server storage [IO: ▲0.93MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Relevanzz - Repeat sales with Social Ads
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.64 ▼0.60 | 2.10 ▲0.42 | 45.77 ▼0.03 |
Dashboard /wp-admin | 2,206 ▲21 | 4.85 ▼0.05 | 95.28 ▼10.87 | 36.72 ▼7.17 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.03 ▲0.04 | 33.07 ▼5.71 | 34.72 ▲2.43 |
Add New Post /wp-admin/post-new.php | 1,542 ▲9 | 18.29 ▼4.79 | 595.02 ▼59.01 | 58.42 ▲4.12 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.23 ▲0.04 | 92.36 ▼4.03 | 42.38 ▼3.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
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
Good news, no errors were detected
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
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/relevanzz/relevanzz.php
- > /wp-content/plugins/relevanzz/src/class-relevanzz-woocommerce-utils.php
- > /wp-content/plugins/relevanzz/src/class-relevanzz-woocommerce-api.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: relevanzz, segmentation, custom audience, woocommerce, facebook...
relevanzz/relevanzz.php Passed 13 tests
The entry point to "Relevanzz - Repeat sales with Social Ads" version 1.0.0 is a PHP file that has certain tags in its header comment area
48 characters long description:
Easily integrate Relevanzz with your WooCommerce
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
Good job! No executable or dangerous file extensions detected357 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 45 | 32 | 301 |
YAML | 1 | 1 | 0 | 32 |
JSON | 1 | 0 | 0 | 13 |
SVG | 1 | 0 | 0 | 7 |
Dockerfile | 1 | 2 | 0 | 4 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of 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.13 |
Average class complexity | 1.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 2 | 50.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 10 | 52.63% |
▷ Anonymous functions | 9 | 47.37% |
Constants | 22 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 22 | 100.00% |
▷ Public constants | 22 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
10 PNG files occupy 0.90MB with 0.63MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 83.19KB | 23.59KB | ▼ 71.64% |
assets/screenshot-4.png | 64.96KB | 16.43KB | ▼ 74.70% |
assets/screenshot-6.png | 216.16KB | 39.76KB | ▼ 81.61% |
assets/screenshot-5.png | 340.81KB | 69.03KB | ▼ 79.75% |
assets/icon-128x128.png | 3.32KB | 1.93KB | ▼ 41.84% |