Benchmarks
Plugin footprint 82% 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: ▲1.42MB] [CPU: ▲8.91ms] 75% from 4 tests
This is a short check of server-side resources used by WPeMatico RSS Feed Fetcher
It is recommended to improve the following
- CPU: Total CPU usage should be kept under 500.00ms (currently 2,782.59ms on /wp-admin/plugins.php?page=wpemaddons)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.09 ▲0.62 | 54.86 ▲19.73 |
Dashboard /wp-admin | 5.92 ▲2.61 | 64.74 ▲21.74 |
Posts /wp-admin/edit.php | 6.02 ▲2.66 | 70.13 ▲25.58 |
Add New Post /wp-admin/post-new.php | 5.75 ▼0.14 | 58.60 ▼30.70 |
Media Library /wp-admin/upload.php | 5.81 ▲2.58 | 57.95 ▲24.86 |
Settings /wp-admin/edit.php?post_type=wpematico&page=wpematico_settings | 6.45 | 945.34 |
Add New /wp-admin/post-new.php?post_type=wpematico | 5.74 | 51.29 |
WPeMatico Addons /wp-admin/plugins.php?page=wpemaddons | 8.12 | 2,782.59 |
All Campaigns /wp-admin/edit.php?post_type=wpematico | 5.90 | 56.05 |
WPeMatico Privacy /wp-admin/index.php?page=wpematico-privacy | 5.84 | 52.15 |
WPeMatico Changelog /wp-admin/index.php?page=wpematico-changelog | 5.84 | 54.53 |
Getting started with WPeMatico /wp-admin/index.php?page=wpematico-getting-started | 5.78 | 48.13 |
WPeMatico About /wp-admin/index.php?page=wpematico-about | 5.78 | 49.95 |
Server storage [IO: ▲14.57MB] [DB: ▲0.10MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 163 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
WPeMatico_Options |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for WPeMatico RSS Feed Fetcher
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,897 ▲136 | 14.41 ▼0.27 | 1.79 ▲0.20 | 42.25 ▲0.99 |
Dashboard /wp-admin | 2,291 ▲114 | 5.59 ▼0.07 | 83.41 ▼14.01 | 70.16 ▲22.78 |
Posts /wp-admin/edit.php | 2,152 ▲52 | 1.98 ▼0.02 | 39.10 ▼0.59 | 33.39 ▼0.89 |
Add New Post /wp-admin/post-new.php | 1,592 ▲66 | 18.25 ▼4.64 | 688.49 ▲21.63 | 51.03 ▼7.90 |
Media Library /wp-admin/upload.php | 1,446 ▲52 | 4.21 ▼0.01 | 98.18 ▲0.16 | 72.52 ▲29.39 |
Settings /wp-admin/edit.php?post_type=wpematico&page=wpematico_settings | 3,837 | 2.68 | 52.95 | 103.50 |
Add New /wp-admin/post-new.php?post_type=wpematico | 5,029 | 3.55 | 92.88 | 115.54 |
WPeMatico Addons /wp-admin/plugins.php?page=wpemaddons | 1,900 | 2.36 | 36.58 | 59.02 |
All Campaigns /wp-admin/edit.php?post_type=wpematico | 1,424 | 2.03 | 35.19 | 34.63 |
WPeMatico Privacy /wp-admin/index.php?page=wpematico-privacy | 922 | 2.00 | 23.47 | 45.58 |
WPeMatico Changelog /wp-admin/index.php?page=wpematico-changelog | 1,322 | 2.00 | 23.91 | 52.70 |
Getting started with WPeMatico /wp-admin/index.php?page=wpematico-getting-started | 1,102 | 1.99 | 23.84 | 48.62 |
WPeMatico About /wp-admin/index.php?page=wpematico-about | 1,315 | 1.99 | 23.43 | 61.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.10MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- WPeMatico_Options
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
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
These server-side errors were triggered
- > GET request to /wp-admin/post-new.php?post_type=wpematico
- > Notice in wp-content/plugins/wpematico/app/campaign_edit.php+449
Undefined index: wpematico_nonce
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
Almost there! Just fix the following items
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wpematico/app/wpe-cron.php
- > /wp-content/plugins/wpematico/app/lib/sp_compatibility_test.php
- 15× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'SimplePie_Cache_DB' not found in wp-content/plugins/wpematico/app/lib/SimplePie/Cache/MySQL.php:56
- > PHP Warning
include(): Failed opening 'WPEMATICO_PLUGIN_DIRapp/lib/SimplePie.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/wpematico/app/lib/simple_pie_autoloader.php on line 82
- > PHP Fatal error
Uncaught Error: Interface 'SimplePie_Cache_Base' not found in wp-content/plugins/wpematico/app/lib/SimplePie/Cache/DB.php:50
- > PHP Warning
include(WPEMATICO_PLUGIN_DIRapp/lib/SimplePie.php): failed to open stream: No such file or directory in wp-content/plugins/wpematico/app/lib/simple_pie_autoloader.php on line 82
- > PHP Fatal error
Uncaught Error: Interface 'SimplePie_Cache_Base' not found in wp-content/plugins/wpematico/app/lib/SimplePie/Cache/Redis.php:27
- > PHP Fatal error
Uncaught Error: Interface 'SimplePie_Cache_Base' not found in wp-content/plugins/wpematico/app/lib/SimplePie/Cache/Memcached.php:58
- > PHP Fatal error
Uncaught Error: Interface 'SimplePie_Cache_Base' not found in wp-content/plugins/wpematico/app/lib/SimplePie/Cache/File.php:50
- > PHP Fatal error
Uncaught Error: Class 'SimplePie_Misc' not found in wp-content/plugins/wpematico/app/lib/SimplePie.php:59
- > PHP Fatal error
Uncaught Error: Interface 'SimplePie_Cache_Base' not found in wp-content/plugins/wpematico/app/lib/SimplePie/Cache/Memcache.php:57
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpematico/app/smart_notifications.php:13
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- > GET request to /wp-admin/plugins.php?page=wpemaddons
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28609 "jQuery.Deferred exception: Cannot read properties of undefined (reading 'ajax_nonce')" "TypeError: Cannot read properties of undefined (reading 'ajax_nonce')\n at /wp-content/plugins/wpematico/app/js/wpematico_updates.js?ver=2.6.21:127:34\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/wpematico/app/js/wpematico_updates.js?ver=2.6.21:1961:3)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/plugins.php?page=wpemaddons
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28721 Uncaught TypeError: Cannot read properties of undefined (reading 'ajax_nonce')
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Tags: Too many tags (17 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: Screenshot #1 (SimplePie Requirements Tests.) image not found
wpematico/wpematico.php Passed 13 tests
Analyzing the main PHP file in "WPeMatico RSS Feed Fetcher" version 2.6.21
136 characters long description:
Create posts automatically from RSS/Atom feeds organized into campaigns with multiples filters. If you like it, please rate it 5 stars.
Code Analysis 97% from 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 plugin109,335 lines of code in 108 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 15 | 25,816 | 31,426 | 75,382 |
PHP | 70 | 3,497 | 8,363 | 27,508 |
JavaScript | 16 | 545 | 749 | 3,215 |
CSS | 5 | 40 | 20 | 2,236 |
Markdown | 2 | 169 | 0 | 994 |
PHP code 50% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
The following items need your attention
- Please reduce cyclomatic complexity of methods to less than 100 (currently 808)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 84.56 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 949.00 |
Average method complexity | 7.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 808.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 61 | |
▷ Abstract classes | 1 | 1.64% |
▷ Concrete classes | 60 | 98.36% |
▷ Final classes | 0 | 0.00% |
Methods | 858 | |
▷ Static methods | 259 | 30.19% |
▷ Public methods | 800 | 93.24% |
▷ Protected methods | 32 | 3.73% |
▷ Private methods | 26 | 3.03% |
Functions | 66 | |
▷ Named functions | 62 | 93.94% |
▷ Anonymous functions | 4 | 6.06% |
Constants | 87 | |
▷ Global constants | 82 | 94.25% |
▷ Class constants | 5 | 5.75% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
14 PNG files occupy 0.28MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/robotico_orange-50x50.png | 0.81KB | 0.75KB | ▼ 6.54% |
images/previewbutton.png | 58.53KB | 24.99KB | ▼ 57.31% |
images/robotico_orange-25x25.png | 0.83KB | 1.02KB | 0.00% |
images/yt-campaign.png | 44.18KB | 22.09KB | ▼ 49.99% |
images/force_date-post_excerpt.png | 18.05KB | 9.03KB | ▼ 49.94% |