Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼1.25ms] Passed 4 tests
This is a short check of server-side resources used by WP Content Pilot - Autoblogging & Affiliate Marketing Plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 45.41 ▲4.35 |
Dashboard /wp-admin | 3.50 ▲0.20 | 54.48 ▲1.67 |
Posts /wp-admin/edit.php | 3.54 ▲0.19 | 52.60 ▼2.31 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 96.80 ▼8.71 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 44.79 ▲6.13 |
All Campaigns /wp-admin/edit.php?post_type=wp_content_pilot | 3.46 | 42.16 |
Status /wp-admin/edit.php?post_type=wp_content_pilot&page=wpcp-status | 3.31 | 36.70 |
Add New /wp-admin/post-new.php?post_type=wp_content_pilot | 3.40 | 45.05 |
Logs /wp-admin/edit.php?post_type=wp_content_pilot&page=wpcp-logs | 3.46 | 40.81 |
Go Pro /wp-admin/edit.php?post_type=wp_content_pilot&page=go_wpcp_pro | 3.20 | 26.23 |
Server storage [IO: ▲1.23MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 115 new files
Database: 2 new tables, 12 new options
New tables |
---|
wp_wpcp_links |
wp_wpcp_logs |
New WordPress options |
---|
wpcp_version |
wpcp_db_version |
widget_recent-posts |
wpcp_install_date |
wpcp_settings_article |
wpcp_dismissible_notices |
widget_theysaidso_widget |
can_compress_scripts |
wpcp_admin_notices |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Content Pilot - Autoblogging & Affiliate Marketing Plugin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,910 ▲160 | 13.61 ▼0.66 | 1.76 ▲0.24 | 43.33 ▲3.03 |
Dashboard /wp-admin | 2,298 ▲124 | 5.91 ▲0.34 | 105.54 ▲11.57 | 88.28 ▲37.41 |
Posts /wp-admin/edit.php | 2,221 ▲121 | 2.48 ▲0.52 | 36.39 ▼5.02 | 33.24 ▼7.98 |
Add New Post /wp-admin/post-new.php | 1,621 ▲93 | 21.10 ▼1.91 | 807.20 ▲110.38 | 37.19 ▼19.52 |
Media Library /wp-admin/upload.php | 1,512 ▲112 | 4.48 ▲0.34 | 114.35 ▲4.73 | 87.40 ▲42.74 |
All Campaigns /wp-admin/edit.php?post_type=wp_content_pilot | 1,204 | 2.44 | 34.62 | 34.65 |
Status /wp-admin/edit.php?post_type=wp_content_pilot&page=wpcp-status | 898 | 2.01 | 29.04 | 26.66 |
Add New /wp-admin/post-new.php?post_type=wp_content_pilot | 1,183 | 2.68 | 49.36 | 69.79 |
Logs /wp-admin/edit.php?post_type=wp_content_pilot&page=wpcp-logs | 1,145 | 2.03 | 32.11 | 33.79 |
Go Pro /wp-admin/edit.php?post_type=wp_content_pilot&page=go_wpcp_pro | 4,870 | 6.25 | 191.13 | 130.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The plugin did not uninstall successfully, leaving 2 tables in the database
- wp_wpcp_links
- wp_wpcp_logs
- This plugin did not uninstall successfully, leaving 12 options in the database
- widget_recent-comments
- widget_recent-posts
- wpcp_dismissible_notices
- wpcp_db_version
- wpcp_install_date
- wpcp_admin_notices
- widget_theysaidso_widget
- wpcp_version
- wpcp_settings_article
- theysaidso_admin_options
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 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
Please take a closer look at the following
- 9× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to a member function hide_errors() on null in wp-content/plugins/wp-content-pilot/includes/admin/updates/update-1.2.0.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_posts() in wp-content/plugins/wp-content-pilot/includes/admin/views/metabox/campaign-posts.php:2
- > PHP Fatal error
Uncaught Error: Call to a member function hide_errors() on null in wp-content/plugins/wp-content-pilot/includes/admin/updates/update-1.2.7.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/wp-content-pilot/includes/admin/views/metabox/campaign-selection.php:2
- > PHP Fatal error
Uncaught Error: Call to a member function hide_errors() on null in wp-content/plugins/wp-content-pilot/includes/admin/updates/update-1.0.4.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/wp-content-pilot/includes/admin/views/metabox/campaign-miscellaneous.php:2
- > PHP Fatal error
Uncaught Error: Call to a member function hide_errors() on null in wp-content/plugins/wp-content-pilot/includes/admin/updates/update-1.2.4.php:12
- > PHP Fatal error
Uncaught Error: Call to a member function hide_errors() on null in wp-content/plugins/wp-content-pilot/includes/admin/updates/update-1.1.2.php:9
- > PHP Fatal error
Uncaught Error: Call to a member function hide_errors() on null in wp-content/plugins/wp-content-pilot/includes/admin/updates/update-1.2.3.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
wp-content-pilot/wp-content-pilot.php Passed 13 tests
The primary PHP file in "WP Content Pilot - Autoblogging & Affiliate Marketing Plugin" version 1.3.4 is used by WordPress to initiate all plugin functionality
100 characters long description:
WP Content Pilot automatically posts contents from various sources based on the predefined keywords.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin17,359 lines of code in 82 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 59 | 1,869 | 4,295 | 9,170 |
JavaScript | 7 | 1,699 | 580 | 6,521 |
CSS | 5 | 56 | 5 | 1,098 |
Markdown | 3 | 97 | 0 | 445 |
JSON | 1 | 0 | 0 | 80 |
SVG | 7 | 0 | 1 | 45 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 44.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 249.00 |
Average method complexity | 3.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 66.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 29 | |
▷ Abstract classes | 1 | 3.45% |
▷ Concrete classes | 28 | 96.55% |
▷ Final classes | 1 | 3.57% |
Methods | 513 | |
▷ Static methods | 72 | 14.04% |
▷ Public methods | 450 | 87.72% |
▷ Protected methods | 36 | 7.02% |
▷ Private methods | 27 | 5.26% |
Functions | 114 | |
▷ Named functions | 101 | 88.60% |
▷ Anonymous functions | 13 | 11.40% |
Constants | 40 | |
▷ Global constants | 35 | 87.50% |
▷ Class constants | 5 | 12.50% |
▷ Public constants | 5 | 100.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
28 PNG files occupy 0.25MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/modules/instragram.png | 10.28KB | 4.10KB | ▼ 60.13% |
assets/images/modules/twitter.png | 8.59KB | 4.07KB | ▼ 52.64% |
assets/images/modules/feed.png | 7.57KB | 3.09KB | ▼ 59.13% |
assets/images/modules/dailymotion.png | 17.42KB | 9.25KB | ▼ 46.90% |
assets/images/modules/yelp.png | 19.28KB | 6.62KB | ▼ 65.69% |