Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼10.91ms] Passed 4 tests
An overview of server-side resources used by Frictionless
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 25.02 ▼16.44 |
Dashboard /wp-admin | 3.45 ▲0.10 | 49.33 ▼12.30 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 50.08 ▼1.81 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 83.77 ▼13.08 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 33.87 ▼0.77 |
Frictionless /wp-admin/options-general.php?page=frictionless | 3.34 | 27.67 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Frictionless
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲43 | 13.91 ▼0.25 | 1.82 ▲0.15 | 41.87 ▼0.84 |
Dashboard /wp-admin | 2,200 ▲23 | 5.54 ▼0.10 | 88.77 ▼1.92 | 39.67 ▼3.98 |
Posts /wp-admin/edit.php | 2,108 ▲5 | 2.09 ▲0.12 | 41.51 ▲1.17 | 35.44 ▼0.18 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.21 ▲0.09 | 681.97 ▲8.86 | 51.12 ▲0.48 |
Media Library /wp-admin/upload.php | 1,408 ▲11 | 4.21 ▲0.03 | 95.24 ▼11.50 | 41.94 ▼3.03 |
Frictionless /wp-admin/options-general.php?page=frictionless | 958 | 2.00 | 22.54 | 28.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
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)
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
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/frictionless/frictionless.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser 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
7 plugin tags: scheduleengine, chat, appointment, servicetitan, booking...
frictionless/frictionless.php 85% from 13 tests
The main PHP script in "Frictionless" version 0.0.23 is automatically included on every request by WordPress
The following require your attention:
- Requires PHP: The required version number must match the one declared in readme.txt ("7.0" instead of "7.2")
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin1,015 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 81 | 69 | 769 |
JavaScript | 4 | 11 | 15 | 172 |
CSS | 2 | 6 | 0 | 73 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
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 | 16 | |
▷ Named functions | 16 | 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 Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
10 PNG files occupy 0.23MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-2.png | 27.14KB | 13.92KB | ▼ 48.71% |
assets/screenshot-3.png | 34.01KB | 17.59KB | ▼ 48.28% |
assets/icon-256x256.png | 5.09KB | 2.33KB | ▼ 54.27% |
assets/screenshot-7.png | 10.94KB | 3.59KB | ▼ 67.15% |
assets/icon-128x128.png | 2.63KB | 1.26KB | ▼ 52.14% |