Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▼6.00ms] Passed 4 tests
This is a short check of server-side resources used by AnyFeed Retriever
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.18 | 43.58 ▼2.59 |
Dashboard /wp-admin | 3.48 ▲0.17 | 52.43 ▼4.13 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 50.65 ▼1.71 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 88.54 ▼15.57 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 38.46 ▲3.93 |
Feed Category /wp-admin/edit-tags.php?taxonomy=custfeedcategory&post_type=anyfeed | 3.40 | 35.60 |
All Feeds /wp-admin/edit.php?post_type=anyfeed | 3.44 | 41.41 |
Feed Groups /wp-admin/edit-tags.php?taxonomy=anyfeedgroups&post_type=anyfeed | 3.39 | 35.82 |
Add New /wp-admin/post-new.php?post_type=anyfeed | 3.48 | 50.91 |
Server storage [IO: ▲0.67MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for AnyFeed Retriever
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,942 ▲181 | 13.88 ▼0.71 | 9.34 ▲7.68 | 42.85 ▼0.50 |
Dashboard /wp-admin | 2,230 ▲56 | 5.57 ▼0.01 | 87.13 ▼10.50 | 38.14 ▼0.38 |
Posts /wp-admin/edit.php | 2,138 ▲38 | 1.98 ▲0.02 | 35.32 ▼0.93 | 35.27 ▼2.91 |
Add New Post /wp-admin/post-new.php | 1,555 ▲26 | 23.09 ▼0.22 | 674.57 ▼10.06 | 54.67 ▼2.87 |
Media Library /wp-admin/upload.php | 1,432 ▲29 | 4.22 ▼0.07 | 100.96 ▼0.87 | 42.04 ▲0.60 |
Feed Category /wp-admin/edit-tags.php?taxonomy=custfeedcategory&post_type=anyfeed | 1,312 | 2.13 | 26.06 | 31.51 |
All Feeds /wp-admin/edit.php?post_type=anyfeed | 1,124 | 1.97 | 30.52 | 30.36 |
Feed Groups /wp-admin/edit-tags.php?taxonomy=anyfeedgroups&post_type=anyfeed | 1,278 | 2.13 | 27.45 | 29.97 |
Add New /wp-admin/post-new.php?post_type=anyfeed | 1,860 | 3.95 | 67.01 | 34.79 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
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)
Everything seems fine, however this is by no means an exhaustive test
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
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function anyfeedretriever\\plugin_dir_url() in wp-content/plugins/anyfeed-retriever/anyfeed.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/anyfeed-retriever/templates/custfeedcategory.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
8 plugin tags: news aggregator, rss import, rss feed, atom feed, rss parsing...
anyfeed-retriever/anyfeed.php 77% from 13 tests
The primary PHP file in "AnyFeed Retriever" version 1.0.1 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: It is recommended to name the main PHP file as the plugin slug ("anyfeed-retriever.php" instead of "anyfeed.php")
- Domain Path: The domain path is invalid: folder "/languages" does not exist
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
Success! There were no dangerous files found in this plugin2,871 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 457 | 1,070 | 2,336 |
JavaScript | 3 | 129 | 206 | 450 |
CSS | 1 | 11 | 1 | 53 |
Markdown | 2 | 12 | 0 | 23 |
HTML | 1 | 0 | 0 | 9 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 107.25 |
▷ Minimum class complexity | 30.00 |
▷ Maximum class complexity | 223.00 |
Average method complexity | 4.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 62.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 108 | |
▷ Static methods | 2 | 1.85% |
▷ Public methods | 93 | 86.11% |
▷ Protected methods | 15 | 13.89% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 24 | |
▷ Global constants | 24 | 100.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
3 PNG files occupy 0.49MB with 0.26MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
_screenshots/screenshot-2.png | 346.53KB | 125.87KB | ▼ 63.68% |
_screenshots/screenshot-1.png | 148.89KB | 59.55KB | ▼ 60.00% |
assets/images/no-image.png | 2.68KB | 1.62KB | ▼ 39.55% |