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.31MB] [CPU: ▼343.54ms] Passed 4 tests
Analyzing server-side resources used by RSSImport
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.85 ▲0.34 | 57.15 ▲4.43 |
Dashboard /wp-admin | 3.74 ▲0.33 | 34.00 ▼2.98 |
Posts /wp-admin/edit.php | 3.97 ▲0.32 | 37.43 ▼8.27 |
Add New Post /wp-admin/post-new.php | 7.21 ▲0.24 | 99.34 ▼1,366.22 |
Media Library /wp-admin/upload.php | 3.62 ▲0.33 | 27.17 ▲3.32 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_rssimport |
Browser metrics Passed 4 tests
An overview of browser requirements for RSSImport
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,800 ▲46 | 15.87 ▲0.20 | 5.84 ▼0.44 | 2.47 ▼0.28 |
Dashboard /wp-admin | 2,892 ▲31 | 6.12 ▼0.13 | 119.61 ▼13.14 | 156.95 ▲2.09 |
Posts /wp-admin/edit.php | 2,694 ▼0 | 3.24 ▲0.00 | 63.66 ▼2.30 | 142.34 ▼3.49 |
Add New Post /wp-admin/post-new.php | 1,714 ▲24 | 20.63 ▼0.58 | 453.30 ▲16.32 | 156.53 ▼6.27 |
Media Library /wp-admin/upload.php | 1,701 ▲6 | 5.51 ▼0.02 | 140.86 ▲5.81 | 182.45 ▼3.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 1 option
- widget_rssimport
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: post, feed, content, rss
rss-import/rssimport.php 77% from 13 tests
Analyzing the main PHP file in "RSSImport" version 4.6.1
It is important to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("rss-import.php" instead of "rssimport.php")
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin2,566 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 90 | 193 | 2,566 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 64.00 |
▷ Minimum class complexity | 64.00 |
▷ Maximum class complexity | 64.00 |
Average method complexity | 16.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 41.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 12 | 92.31% |
▷ Anonymous functions | 1 | 7.69% |
Constants | 12 | |
▷ Global constants | 12 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected