Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.51ms] Passed 4 tests
Analyzing server-side resources used by RTL Feed Fixer
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 41.41 ▼3.58 |
Dashboard /wp-admin | 3.33 ▲0.02 | 50.23 ▼9.36 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 62.70 ▲12.36 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 91.97 ▼11.50 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 39.65 ▼1.61 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by RTL Feed Fixer
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.60 ▲0.25 | 1.63 ▼0.27 | 43.09 ▼1.35 |
Dashboard /wp-admin | 2,198 ▲18 | 5.61 ▼0.05 | 84.23 ▼18.70 | 40.79 ▼5.06 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.94 ▼0.06 | 40.50 ▲1.86 | 36.96 ▲0.38 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.27 ▲0.22 | 699.89 ▲12.62 | 58.82 ▼6.21 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.15 ▲0.03 | 99.99 ▼15.03 | 45.95 ▼2.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/rtl-rss-feed-fixer/tests/test_rtl-feed-fixer-basic.php:6
- > PHP Fatal error
require(): Failed opening required '../../../../tests/phpunit/includes/bootstrap.php' (include_path='.:/usr/share/php') in wp-content/plugins/rtl-rss-feed-fixer/tests/bootstrap.php on line 22
- > PHP Warning
require(../../../../tests/phpunit/includes/bootstrap.php): failed to open stream: No such file or directory in wp-content/plugins/rtl-rss-feed-fixer/tests/bootstrap.php on line 22
- > PHP Fatal error
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 93% 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, rtl, feed, rtl support, fix...
rtl-rss-feed-fixer/rtl-feed-fixer.php 85% from 13 tests
The entry point to "RTL Feed Fixer" version 1.0.2 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("rtl-rss-feed-fixer.php" instead of "rtl-feed-fixer.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin240 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 99 | 174 | 161 |
Markdown | 1 | 16 | 0 | 47 |
PO File | 1 | 4 | 6 | 25 |
XML | 1 | 0 | 1 | 7 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 5 | 33.33% |
▷ Public methods | 12 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 20.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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