Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼0.64MB] [CPU: ▼14.94ms] Passed 4 tests
Analyzing server-side resources used by RESTful Content Syndication
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.46 ▼5.93 |
Dashboard /wp-admin | 3.34 ▲0.04 | 47.80 ▼2.24 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 50.76 ▲5.26 |
Add New Post /wp-admin/post-new.php | 3.23 ▼2.66 | 39.12 ▼56.83 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.09 ▲5.43 |
RESTful Syndication /wp-admin/options-general.php?page=restful-syndication | 3.24 | 33.52 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by RESTful Content Syndication
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲94 | 13.17 ▼1.23 | 1.85 ▲0.00 | 37.71 ▼14.19 |
Dashboard /wp-admin | 2,213 ▲22 | 4.87 ▼1.03 | 97.18 ▼20.28 | 39.06 ▼5.66 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.00 ▲0.00 | 39.03 ▲3.99 | 36.13 ▲2.00 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.52 ▲0.29 | 658.70 ▲39.22 | 57.70 ▼8.60 |
Media Library /wp-admin/upload.php | 1,395 ▲13 | 4.18 ▼0.02 | 97.68 ▼1.37 | 41.96 ▼1.95 |
RESTful Syndication /wp-admin/options-general.php?page=restful-syndication | 966 | 2.03 | 21.75 | 32.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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 were found after uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/restful-syndication/index.php:105
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 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
Attributes that require attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== restful-syndication ===
) - Screenshots: A description for screenshot #1 is required in restful-syndication/assets to your readme.txt
restful-syndication/index.php 92% from 13 tests
"RESTful Content Syndication" version 1.4.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("restful-syndication.php" instead of "index.php")
Code Analysis Passed 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
Good job! No executable or dangerous file extensions detected769 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 213 | 115 | 769 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 166.00 |
▷ Minimum class complexity | 166.00 |
▷ Maximum class complexity | 166.00 |
Average method complexity | 9.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 75.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 50.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 50.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin