Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > Warning in wp-includes/media.php+5460
getimagesize(./wp-content/plugins/rss-make-antenna/no_image.png): failed to open stream: No such file or directory
Server metrics [RAM: ▲0.04MB] [CPU: ▲1.66ms] Passed 4 tests
Server-side resources used by RSS make antenna
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 43.70 ▲4.77 |
Dashboard /wp-admin | 3.42 ▲0.11 | 74.81 ▲23.85 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 46.77 ▼0.15 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 84.90 ▼1.89 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.32 ▲3.90 |
RSS make antenna設定 /wp-admin/options-general.php?page=make_antenna | 3.20 | 30.30 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
make_antenna |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
RSS make antenna: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,813 ▲78 | 13.53 ▼1.03 | 1.61 ▼0.71 | 43.24 ▼6.95 |
Dashboard /wp-admin | 2,210 ▲22 | 4.85 ▼0.09 | 108.77 ▼7.05 | 43.46 ▼0.71 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.06 ▲0.04 | 39.69 ▲2.97 | 39.61 ▲6.42 |
Add New Post /wp-admin/post-new.php | 1,536 ▼1 | 22.93 ▼0.37 | 694.76 ▲29.12 | 67.85 ▲15.53 |
Media Library /wp-admin/upload.php | 1,429 ▲38 | 4.32 ▲0.11 | 96.65 ▲0.53 | 43.92 ▲2.05 |
RSS make antenna設定 /wp-admin/options-general.php?page=make_antenna | 868 | 2.02 | 22.54 | 94.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=make_antenna
- > Notice in wp-content/plugins/rss-make-antenna/rss-make-antenna.php+153
Undefined index: settings-updated
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
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/rss-make-antenna/rss-make-antenna.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 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
1 plugin tags: rss feed
rss-make-antenna/rss-make-antenna.php Passed 13 tests
The main PHP script in "RSS make antenna" version 1.7.2 is automatically included on every request by WordPress
84 characters long description:
RSSからサイトの更新情報を取得して投稿するプラグインです。
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
No dangerous file extensions were detected463 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 29 | 9 | 463 |
PHP code Passed 2 tests
This is a short overview 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.35 |
Average class complexity | 78.00 |
▷ Minimum class complexity | 78.00 |
▷ Maximum class complexity | 78.00 |
Average method complexity | 3.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.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 | 34 | |
▷ Static methods | 1 | 2.94% |
▷ Public methods | 27 | 79.41% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 20.59% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 5 | 100.00% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
no_image.png | 1.92KB | 1.08KB | ▼ 43.85% |