Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.22MB] [CPU: ▼0.00ms] 75% from 4 tests
An overview of server-side resources used by WP Pipes
Please have a look at the following items
- CPU: Try to keep total CPU usage under 500.00ms (currently 1,244.52ms on /wp-admin/admin.php?page=pipes.plugins)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.20 | 42.60 ▼3.44 |
Dashboard /wp-admin | 3.53 ▲0.22 | 51.79 ▼1.90 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 55.37 ▲5.09 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 101.36 ▲1.16 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 38.81 ▲4.16 |
Add New /wp-admin/admin.php?page=pipes.pipe | 3.81 | 41.87 |
Settings /wp-admin/admin.php?page=pipes.settings | 3.50 | 35.89 |
Addons /wp-admin/admin.php?page=pipes.plugins | 3.65 | 1,244.52 |
All Pipes /wp-admin/admin.php?page=pipes.pipes | 3.74 | 35.98 |
Server storage [IO: ▲4.43MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 468 new files
Database: 2 new tables, 11 new options
New tables |
---|
wp_wppipes_pipes |
wp_wppipes_items |
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
pipes_active |
pipes_start_at |
widget_recent-comments |
can_compress_scripts |
pipes_schedule |
db_upgraded |
pipes_cronjob_active |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
Checking browser requirements for WP Pipes
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,862 ▲116 | 13.55 ▼1.19 | 2.94 ▲0.66 | 42.26 ▼0.39 |
Dashboard /wp-admin | 2,237 ▲49 | 5.85 ▼0.05 | 105.65 ▼8.70 | 41.52 ▼2.95 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.06 ▲0.03 | 41.40 ▲7.95 | 34.61 ▼1.43 |
Add New Post /wp-admin/post-new.php | 1,557 ▲24 | 22.25 ▼0.94 | 699.17 ▲8.67 | 54.20 ▼2.82 |
Media Library /wp-admin/upload.php | 1,416 ▲28 | 4.21 ▼0.01 | 97.20 ▼1.60 | 40.57 ▼3.35 |
Add New /wp-admin/admin.php?page=pipes.pipe | 1,921 | 2.70 | 39.02 | 78.39 |
Settings /wp-admin/admin.php?page=pipes.settings | 1,504 | 2.17 | 30.29 | 45.61 |
Addons /wp-admin/admin.php?page=pipes.plugins | 1,300 | 3.31 | 59.03 | 32.16 |
All Pipes /wp-admin/admin.php?page=pipes.pipes | 1,610 | 2.65 | 41.98 | 31.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pipes.pipes
- > Notice in wp-content/plugins/wp-pipes/helpers/common.php+186
Undefined index: HTTP_X_FORWARDED_FOR
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pipes.pipes
- > Notice in wp-content/plugins/wp-pipes/helpers/common.php+188
Undefined index: HTTP_CLIENT_IP
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 62× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/wp-pipes/plugins/processors/original_source/original_source.php
- > /wp-content/plugins/wp-pipes/plugins/processors/cut_introtext/cut_introtext.php
- > /wp-content/plugins/wp-pipes/plugins/engines/post/post.php
- > /wp-content/plugins/wp-pipes/plugins/engines/post/fields/postcategories.php
- > /wp-content/plugins/wp-pipes/plugins/processors/get_fulltext/readability.php
- > /wp-content/plugins/wp-pipes/plugins/adapters/post/fields/postcategories.php
- > /wp-content/plugins/wp-pipes/includes/application.php
- > /wp-content/plugins/wp-pipes/plugins/processors/get_fulltext/lib/psc.php
- > /wp-content/plugins/wp-pipes/post.html.php
- > /wp-content/plugins/wp-pipes/views/plugins/view.php
- 10× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'SimplePie' not found in wp-content/plugins/wp-pipes/plugins/engines/rssreader/helpers/library/SimplePie/Core.php:54
- > PHP Fatal error
Uncaught Error: Interface 'SimplePie_Cache_Base' not found in wp-content/plugins/wp-pipes/plugins/engines/rssreader/helpers/library/SimplePie/Cache/File.php:51
- > PHP Fatal error
Uncaught Error: Class 'SimplePie_Cache_DB' not found in wp-content/plugins/wp-pipes/plugins/engines/rssreader/helpers/library/SimplePie/Cache/MySQL.php:57
- > PHP Fatal error
Uncaught Error: Class 'SimplePie_Misc' not found in wp-content/plugins/wp-pipes/plugins/engines/rssreader/helpers/library/SimplePie.php:59
- > PHP Warning
require_once(wp-content/plugins/wp-pipes/plugins/processors/get_fulltext/JSLikeHTMLElement.php): failed to open stream: No such file or directory in wp-content/plugins/wp-pipes/plugins/processors/get_fulltext/readability_1.7.1.php on line 48
- > PHP Fatal error
Uncaught Error: Class 'JFormField' not found in wp-content/plugins/wp-pipes/plugins/adapters/rss/fields/feedurl.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_upload_dir() in wp-content/plugins/wp-pipes/define.php:23
- > PHP Fatal error
Uncaught Error: Interface 'SimplePie_Cache_Base' not found in wp-content/plugins/wp-pipes/plugins/engines/rssreader/helpers/library/SimplePie/Cache/DB.php:51
- > PHP Fatal error
Uncaught Error: Interface 'SimplePie_Cache_Base' not found in wp-content/plugins/wp-pipes/plugins/engines/rssreader/helpers/library/SimplePie/Cache/Memcache.php:58
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/wp-pipes/plugins/processors/get_fulltext/JSLikeHTMLElement.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-pipes/plugins/processors/get_fulltext/readability_1.7.1.php on line 48
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=pipes.pipe
- > Network (severe)
wp-content/plugins/wp-pipes/assets/css/chosen-sprite.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pipes.pipes
- > Network (severe)
https://thimpress.com/wp-content/uploads/2017/06/mag.__large_preview.png - Failed to load resource: the server responded with a status of 404 ()
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 28 tag instead of maximum 10
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== wp-pipes ===
)
wp-pipes/pipes.php 77% from 13 tests
The main PHP script in "WP Pipes" version 1.4.1 is automatically included on every request by WordPress
The following require your attention:
- Requires PHP: Required version must be the same as the one declared in readme.txt ("7.0" instead of "7.4")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-pipes.php" instead of "pipes.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin58,315 lines of code in 326 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 240 | 7,632 | 22,492 | 39,042 |
JavaScript | 9 | 2,736 | 15,282 | 13,283 |
CSS | 7 | 121 | 43 | 2,462 |
Sass | 13 | 19 | 22 | 928 |
LESS | 12 | 18 | 27 | 907 |
XML | 17 | 4 | 4 | 710 |
PO File | 7 | 143 | 289 | 421 |
SVG | 1 | 0 | 0 | 414 |
HTML | 17 | 2 | 0 | 109 |
INI | 3 | 2 | 7 | 39 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Please fix the following
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 808)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 29.18 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 945.00 |
Average method complexity | 5.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 808.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 262 | |
▷ Abstract classes | 43 | 16.41% |
▷ Concrete classes | 219 | 83.59% |
▷ Final classes | 0 | 0.00% |
Methods | 1,706 | |
▷ Static methods | 580 | 34.00% |
▷ Public methods | 1,531 | 89.74% |
▷ Protected methods | 165 | 9.67% |
▷ Private methods | 10 | 0.59% |
Functions | 67 | |
▷ Named functions | 66 | 98.51% |
▷ Anonymous functions | 1 | 1.49% |
Constants | 138 | |
▷ Global constants | 129 | 93.48% |
▷ Class constants | 9 | 6.52% |
▷ Public constants | 9 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
10 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/chosen-sprite.png | 0.55KB | 0.70KB | 0.00% |
assets/images/pipe-step-3.png | 2.87KB | 2.33KB | ▼ 19.07% |
plugins/processors/cut_introtext/cut_introtext.png | 2.85KB | 2.07KB | ▼ 27.57% |
plugins/processors/duplicate/duplicate.png | 0.88KB | 0.59KB | ▼ 32.52% |
plugins/processors/image/image.png | 3.41KB | 2.04KB | ▼ 40.16% |