Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.21MB] [CPU: ▼139.36ms] Passed 4 tests
Analyzing server-side resources used by JP's Get RSS Feed
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.05 ▲0.22 | 36.62 ▲2.15 |
Dashboard /wp-admin | 3.28 ▲0.22 | 45.87 ▲7.70 |
Posts /wp-admin/edit.php | 3.39 ▲0.28 | 43.41 ▲1.34 |
Add New Post /wp-admin/post-new.php | 5.63 ▲0.20 | 87.99 ▼559.89 |
Media Library /wp-admin/upload.php | 3.22 ▲0.22 | 32.45 ▼1.04 |
JP's Get RSS Feed /wp-admin/options-general.php?page=jps-get-rss-feed | 3.18 | 30.68 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 1 new option
New WordPress options |
---|
jp_get_rss_feed |
Browser metrics Passed 4 tests
This is an overview of browser requirements for JP's Get RSS Feed
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,683 ▲87 | 15.77 ▲0.22 | 10.13 ▲0.00 | 43.81 ▼3.13 |
Dashboard /wp-admin | 2,994 ▲60 | 6.14 ▲0.21 | 135.48 ▼7.31 | 106.84 ▼6.16 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.72 ▲0.00 | 62.81 ▲2.60 | 93.96 ▲1.16 |
Add New Post /wp-admin/post-new.php | 1,877 ▲262 | 19.31 ▼2.64 | 391.18 ▲112.98 | 114.90 ▲9.36 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.03 ▲0.01 | 148.45 ▲2.50 | 124.31 ▲2.16 |
JP's Get RSS Feed /wp-admin/options-general.php?page=jps-get-rss-feed | 1,545 | 2.22 | 56.28 | 101.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/jps-get-rss-feed/jp_get_rss_feed_items.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: xml, feed, fetch, display, list...
jps-get-rss-feed/jp_get_rss_feed_items.php 92% from 13 tests
The primary PHP file in "JP's Get RSS Feed" version 1.6.3 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("jps-get-rss-feed.php" instead of "jp_get_rss_feed_items.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected741 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 35 | 76 | 733 |
CSS | 1 | 0 | 0 | 5 |
JavaScript | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 34 | |
▷ Named functions | 34 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 45 | |
▷ Global constants | 45 | 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
5 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/examples.png | 3.78KB | 2.24KB | ▼ 40.82% |
images/parameters.png | 3.48KB | 2.94KB | ▼ 15.45% |
images/settings.png | 2.11KB | 2.31KB | 0.00% |
images/support.png | 5.03KB | 2.79KB | ▼ 44.54% |
images/rss.png | 2.89KB | 2.32KB | ▼ 19.81% |