Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▲2.43ms] Passed 4 tests
Analyzing server-side resources used by Content Syndication Toolkit
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 37.54 ▼2.81 |
Dashboard /wp-admin | 3.50 ▲0.20 | 56.47 ▲9.78 |
Posts /wp-admin/edit.php | 3.55 ▲0.20 | 52.77 ▲1.38 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.20 | 118.66 ▲22.45 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 39.69 ▲1.38 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=prso_synd_toolkit | 3.42 | 42.33 |
All Items /wp-admin/edit.php?post_type=prso_synd_toolkit | 3.48 | 39.37 |
Add New /wp-admin/post-new.php?post_type=prso_synd_toolkit | 3.57 | 55.18 |
Content Syndication /wp-admin/options-general.php?page=prso_synd_toolkit_options_options | 5.57 | 66.46 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=prso_synd_toolkit | 3.42 | 33.68 |
Server storage [IO: ▲5.80MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 450 new files
Database: no new tables, 10 new options
New WordPress options |
---|
db_upgraded |
prso_synd_toolkit_options-transients |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
redux-framework-tracking |
widget_theysaidso_widget |
prso_synd_toolkit_options |
category_children |
Browser metrics Passed 4 tests
Checking browser requirements for Content Syndication Toolkit
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,854 ▲119 | 14.75 ▲0.10 | 1.66 ▲0.01 | 40.52 ▼2.72 |
Dashboard /wp-admin | 2,254 ▲66 | 5.83 ▲0.73 | 123.38 ▲20.19 | 45.13 ▲2.25 |
Posts /wp-admin/edit.php | 2,142 ▲53 | 2.01 ▲0.01 | 40.73 ▼2.01 | 33.31 ▼1.24 |
Add New Post /wp-admin/post-new.php | 1,576 ▲56 | 23.25 ▲0.03 | 665.69 ▲8.40 | 51.18 ▼8.78 |
Media Library /wp-admin/upload.php | 1,436 ▲45 | 4.34 ▲0.10 | 103.16 ▼4.11 | 43.14 ▼0.37 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=prso_synd_toolkit | 1,497 | 2.31 | 29.23 | 31.99 |
All Items /wp-admin/edit.php?post_type=prso_synd_toolkit | 1,166 | 1.95 | 32.08 | 29.68 |
Add New /wp-admin/post-new.php?post_type=prso_synd_toolkit | 2,493 | 7.82 | 173.64 | 66.17 |
Content Syndication /wp-admin/options-general.php?page=prso_synd_toolkit_options_options | 1,325 | 4.26 | 85.78 | 100.13 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=prso_synd_toolkit | 1,361 | 2.30 | 27.38 | 30.05 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 10 options in the database
- prso_synd_toolkit_options-transients
- widget_theysaidso_widget
- widget_recent-posts
- redux-framework-tracking
- can_compress_scripts
- theysaidso_admin_options
- category_children
- db_upgraded
- prso_synd_toolkit_options
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- 354 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=prso_synd_toolkit_options_options
- > Notice in wp-content/plugins/content-syndication-toolkit/inc/ReduxFramework/ReduxCore/inc/scssphp/src/Compiler.php+2077
Trying to access array offset on value of type null
SRP 0% 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
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/content-syndication-toolkit/inc/ReduxFramework/ReduxCore/inc/p.php
- 14× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Leafo\\ScssPhp\\Formatter' not found in wp-content/plugins/content-syndication-toolkit/inc/ReduxFramework/ReduxCore/inc/scssphp/src/Formatter/Compressed.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/content-syndication-toolkit/inc/ReduxFramework/ReduxCore/inc/fields/select/elusive-icons.php:312
- > PHP Notice
Undefined index: url in wp-content/plugins/content-syndication-toolkit/inc/ReduxFramework/ReduxCore/inc/p.php on line 151
- > PHP Fatal error
Uncaught Error: Call to undefined function _ex() in wp-content/plugins/content-syndication-toolkit/inc/templates/email/push_error_client_alert.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function _ex() in wp-content/plugins/content-syndication-toolkit/inc/templates/email/push_error.php:13
- > PHP Fatal error
Uncaught Error: Class 'Leafo\\ScssPhp\\Formatter' not found in wp-content/plugins/content-syndication-toolkit/inc/ReduxFramework/ReduxCore/inc/scssphp/src/Formatter/Crunched.php:22
- > PHP Fatal error
Uncaught Error: Class 'Leafo\\ScssPhp\\Formatter' not found in wp-content/plugins/content-syndication-toolkit/inc/ReduxFramework/ReduxCore/inc/scssphp/src/Formatter/Compact.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/content-syndication-toolkit/inc/ReduxFramework/ReduxCore/inc/class.p.php:7
- > PHP Fatal error
Uncaught Error: Class 'Leafo\\ScssPhp\\Formatter' not found in wp-content/plugins/content-syndication-toolkit/inc/ReduxFramework/ReduxCore/inc/scssphp/src/Formatter/Nested.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/content-syndication-toolkit/prso-content-synd-toolkit.php:25
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
10 plugin tags: content syndication, content aggregator, content aggregation, content publishing, seo...
content-syndication-toolkit/prso-content-synd-toolkit.php 85% from 13 tests
"Content Syndication Toolkit" version 1.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("content-syndication-toolkit.php" instead of "prso-content-synd-toolkit.php")
- Text Domain: The text domain should only use lowercase characters and dashes
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin42,210 lines of code in 356 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 96 | 4,796 | 6,419 | 16,455 |
JavaScript | 154 | 2,978 | 2,256 | 13,925 |
Sass | 32 | 637 | 37 | 4,547 |
LESS | 26 | 280 | 117 | 3,245 |
CSS | 41 | 330 | 166 | 2,919 |
PO File | 1 | 223 | 293 | 544 |
SVG | 1 | 0 | 0 | 309 |
Markdown | 1 | 34 | 0 | 80 |
HTML | 1 | 8 | 0 | 60 |
Bourne Shell | 1 | 24 | 0 | 55 |
JSON | 1 | 0 | 0 | 36 |
YAML | 1 | 0 | 1 | 35 |
PHP code 50% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
It is recommended to fix the following
- Method cyclomatic complexity should be reduced to less than 100 (currently 105)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 39.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 829.00 |
Average method complexity | 6.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 105.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 92 | |
▷ Abstract classes | 1 | 1.09% |
▷ Concrete classes | 91 | 98.91% |
▷ Final classes | 0 | 0.00% |
Methods | 690 | |
▷ Static methods | 41 | 5.94% |
▷ Public methods | 417 | 60.43% |
▷ Protected methods | 232 | 33.62% |
▷ Private methods | 41 | 5.94% |
Functions | 27 | |
▷ Named functions | 26 | 96.30% |
▷ Anonymous functions | 1 | 3.70% |
Constants | 12 | |
▷ Global constants | 11 | 91.67% |
▷ Class constants | 1 | 8.33% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
39 PNG files occupy 0.22MB with 0.18MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/ReduxFramework/ReduxCore/assets/img/2-col-portfolio.png | 1.02KB | 0.15KB | ▼ 85.07% |
inc/ReduxFramework/ReduxCore/assets/img/1col.png | 2.83KB | 0.14KB | ▼ 95.13% |
inc/ReduxFramework/ReduxCore/assets/img/3cm.png | 2.96KB | 0.29KB | ▼ 90.35% |
inc/ReduxFramework/ReduxCore/assets/img/4-col-portfolio.png | 1.01KB | 0.17KB | ▼ 83.45% |
inc/ReduxFramework/ReduxCore/assets/img/menu_icon.png | 1.41KB | 0.50KB | ▼ 64.62% |