Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▲0.53ms] Passed 4 tests
Server-side resources used by Feed Importer for Micro.blog
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 40.07 ▲2.46 |
Dashboard /wp-admin | 3.42 ▲0.11 | 70.82 ▲18.78 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 54.22 ▲10.25 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 91.63 ▼8.67 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 32.02 ▼1.93 |
Feed Importer for Micro.blog /wp-admin/options-general.php?page=rss_mb | 3.27 | 28.57 |
Server storage [IO: ▲0.90MB] [DB: ▲0.07MB] 67% from 3 tests
A short overview of filesystem and database impact
These are issues you should consider
- You have illegally modified 1 file (0.04KB) outside of "wp-content/plugins/feed-importer-micro-blog/" and "wp-content/uploads/"
- (new file) wp-content/rssmb-log/log.txt
Filesystem: 44 new files
Database: no new tables, 8 new options
New WordPress options |
---|
rss_mb_deleted_posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
rss_mb_feeds |
Browser metrics Passed 4 tests
Checking browser requirements for Feed Importer for Micro.blog
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲59 | 13.67 ▼0.92 | 1.57 ▼0.20 | 42.00 ▲0.87 |
Dashboard /wp-admin | 2,213 ▲25 | 5.87 ▲0.99 | 105.90 ▼0.27 | 37.05 ▼4.03 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.07 | 40.92 ▲4.54 | 35.91 ▲3.29 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.11 ▼0.10 | 654.80 ▲42.20 | 53.74 ▲3.54 |
Media Library /wp-admin/upload.php | 1,395 ▲13 | 4.21 ▲0.03 | 95.11 ▼1.14 | 44.57 ▼1.61 |
Feed Importer for Micro.blog /wp-admin/options-general.php?page=rss_mb | 1,512 | 2.09 | 28.70 | 60.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- rss_mb_deleted_posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=rss_mb
- > Deprecated in wp-content/plugins/feed-importer-micro-blog/app/templates/feed-table.php+37
join(): Passing glue string after array is deprecated. Swap the parameters
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
Almost there! Just fix the following items
- 14× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/feed-importer-micro-blog/app/classes/helpers/class-rss-mb-featured-image.php on line 7
- > PHP Warning
require_once(ABSPATH/wp-admin/includes/file.php): failed to open stream: No such file or directory in wp-content/plugins/feed-importer-micro-blog/app/classes/helpers/class-rss-mb-featured-image.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/feed-importer-micro-blog/app/templates/settings-table.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/feed-importer-micro-blog/app/templates/feed-save-box.php:7
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATH/wp-admin/includes/file.php' (include_path='.:/usr/share/php') in wp-content/plugins/feed-importer-micro-blog/app/classes/helpers/class-rss-mb-featured-image.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/feed-importer-micro-blog/app/templates/stats-placeholder.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/feed-importer-micro-blog/app/templates/feed-table.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_the_category_by_ID() in wp-content/plugins/feed-importer-micro-blog/app/templates/feed-table-row.php:50
- > PHP Fatal error
Uncaught Error: Class 'Rss_mb_stats' not found in wp-content/plugins/feed-importer-micro-blog/app/templates/stats.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/feed-importer-micro-blog/app/templates/admin-ui.php:4
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: rss-feed, rss, microblog, import, feeds...
feed-importer-micro-blog/index.php 77% from 13 tests
The main PHP file in "Feed Importer for Micro.blog" ver. 1.1.5 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("feed-importer-micro-blog.php" instead of "index.php")
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
- Domain Path: The domain path folder was not found ("/lang/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin3,425 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 669 | 770 | 2,347 |
SVG | 1 | 0 | 0 | 399 |
CSS | 1 | 3 | 31 | 253 |
JavaScript | 3 | 28 | 26 | 247 |
PO File | 1 | 44 | 82 | 131 |
Markdown | 1 | 11 | 0 | 48 |
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.33 |
Average class complexity | 21.92 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 68.00 |
Average method complexity | 3.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 98 | |
▷ Static methods | 1 | 1.02% |
▷ Public methods | 71 | 72.45% |
▷ Protected methods | 2 | 2.04% |
▷ Private methods | 25 | 25.51% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
No PNG images were found in this plugin