Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.37ms] Passed 4 tests
An overview of server-side resources used by Custom RSS Feeds by Envintus, LLC
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.66 ▼2.93 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.33 ▼7.17 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.43 ▼0.40 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 82.92 ▼6.96 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.88 ▲1.76 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Custom RSS Feeds by Envintus, LLC
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.18 ▼1.22 | 1.69 ▼0.06 | 37.29 ▼6.07 |
Dashboard /wp-admin | 2,213 ▲38 | 4.84 ▼0.11 | 99.47 ▼26.63 | 36.02 ▼14.26 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.00 ▼0.04 | 38.47 ▲1.87 | 36.84 ▲1.71 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.36 ▲0.18 | 638.11 ▲5.37 | 55.67 ▲5.16 |
Media Library /wp-admin/upload.php | 1,395 ▲13 | 4.25 ▼0.08 | 94.43 ▼7.86 | 40.39 ▼2.98 |
Custom Feeds /wp-admin/custom-feeds.php | 26 | 0.44 | 0.08 | 14.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/custom-feeds/lib/options.php:45
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/custom-feeds/custom-feeds.php:28
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
- > GET request to /wp-admin/custom-feeds.php
- > Network (severe)
wp-admin/custom-feeds.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Donate link: Invalid URI ("N/A")
custom-feeds/custom-feeds.php Passed 13 tests
The main PHP script in "Custom RSS Feeds by Envintus, LLC" version 1.0 is automatically included on every request by WordPress
52 characters long description:
Add custom RSS feeds to your WordPress installation.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin207 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 59 | 23 | 193 |
Markdown | 1 | 6 | 0 | 14 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 2.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.14MB with 0.10MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-4.png | 33.41KB | 10.11KB | ▼ 69.74% |
screenshot-2.png | 47.17KB | 14.84KB | ▼ 68.54% |
screenshot-3.png | 38.97KB | 12.09KB | ▼ 68.97% |
screenshot-1.png | 24.49KB | 7.58KB | ▼ 69.06% |