Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.01ms] Passed 4 tests
Analyzing server-side resources used by Friendly Functions for Welcart
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 37.01 ▼3.49 |
Dashboard /wp-admin | 3.31 ▲0.01 | 47.61 ▲0.91 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 49.36 ▲2.40 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 90.03 ▼0.08 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.62 ▼5.36 |
Friendly Functions for Welcart /wp-admin/options-general.php?page=ffw_function_settings | 3.53 | 31.80 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Friendly Functions for Welcart: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲34 | 14.25 ▼0.12 | 1.76 ▼0.00 | 45.63 ▲0.72 |
Dashboard /wp-admin | 2,204 ▲27 | 5.62 ▲0.08 | 92.80 ▲1.90 | 41.87 ▲3.73 |
Posts /wp-admin/edit.php | 2,106 ▲9 | 2.01 ▲0.06 | 39.20 ▲4.52 | 35.16 ▼0.65 |
Add New Post /wp-admin/post-new.php | 1,534 ▲7 | 23.04 ▼0.10 | 585.11 ▼74.84 | 52.87 ▼5.06 |
Media Library /wp-admin/upload.php | 1,406 ▲3 | 4.20 ▲0.01 | 97.99 ▼4.40 | 44.31 ▼0.40 |
Friendly Functions for Welcart /wp-admin/options-general.php?page=ffw_function_settings | 954 | 2.99 | 41.01 | 24.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The SRP test was a success
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 93% from 29 tests
readme.txt 94% 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:
- Donate link: Invalid URI found ("")
friendly-functions-for-welcart/friendly-functions-for-welcart.php 92% from 13 tests
The primary PHP file in "Friendly Functions for Welcart" version 1.2.1 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Domain Path: The domain path folder was not found ("/languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin2,347 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 137 | 135 | 1,547 |
CSS | 2 | 100 | 7 | 477 |
JavaScript | 3 | 9 | 32 | 323 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
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 | 63 | |
▷ Named functions | 63 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 2 | 66.67% |
▷ Class constants | 1 | 33.33% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
other_tab/img/logo-ffw_square_350.png | 8.80KB | 3.05KB | ▼ 65.30% |
other_tab/img/logo-tfs_square_350.png | 5.34KB | 2.50KB | ▼ 53.16% |
other_tab/img/logo-cps_square_350.png | 8.00KB | 2.89KB | ▼ 63.88% |
other_tab/img/logo-tcw_square_350.png | 5.16KB | 2.67KB | ▼ 48.27% |
other_tab/img/logo-pnp_square_350.png | 6.37KB | 3.09KB | ▼ 51.47% |