Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼0.47ms] 75% from 4 tests
Analyzing server-side resources used by Blogger To WordPress
The following require your attention
- CPU: The total CPU usage must kept under 500.00ms (currently 1,154.73ms on /wp-admin/tools.php?page=rt-blogger-to-wordpress-redirection)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 41.62 ▼1.45 |
Dashboard /wp-admin | 3.35 ▲0.04 | 47.40 ▼1.83 |
Posts /wp-admin/edit.php | 3.40 ▲0.03 | 48.12 ▼0.13 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.03 | 94.12 ▲1.53 |
Media Library /wp-admin/upload.php | 3.27 ▲0.03 | 37.95 ▲3.71 |
Blogger To WordPress Redirection /wp-admin/tools.php?page=rt-blogger-to-wordpress-redirection | 4.50 | 1,154.73 |
Server storage [IO: ▲0.03MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Blogger To WordPress
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,855 ▲93 | 13.82 ▼0.94 | 4.37 ▲2.68 | 39.63 ▼4.13 |
Dashboard /wp-admin | 2,233 ▲55 | 5.57 ▼0.18 | 126.00 ▲14.07 | 40.78 ▼4.69 |
Posts /wp-admin/edit.php | 2,147 ▲50 | 2.73 ▲0.58 | 63.86 ▲25.75 | 35.62 ▲1.98 |
Add New Post /wp-admin/post-new.php | 6,353 ▲4,824 | 26.32 ▲3.52 | 873.13 ▲295.38 | 46.12 ▼6.78 |
Media Library /wp-admin/upload.php | 1,437 ▲37 | 5.02 ▲0.88 | 142.26 ▲43.55 | 49.54 ▲7.66 |
Blogger To WordPress Redirection /wp-admin/tools.php?page=rt-blogger-to-wordpress-redirection | 1,286 | 7.83 | 126.74 | 76.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 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 does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
Please take a closer look at the following
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/blogger-to-wordpress-redirection/templates/feeds.php
- > /wp-content/plugins/blogger-to-wordpress-redirection/templates/blogger-code.php
- 8× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr_e() in wp-content/plugins/blogger-to-wordpress-redirection/templates/settings.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/blogger-to-wordpress-redirection/templates/get-config.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/blogger-to-wordpress-redirection/templates/update-notice.php:13
- > PHP Notice
Undefined variable: rss_items in wp-content/plugins/blogger-to-wordpress-redirection/templates/feeds.php on line 18
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/blogger-to-wordpress-redirection/b2w-redirection.php:16
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/blogger-to-wordpress-redirection/templates/feeds.php on line 18
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/blogger-to-wordpress-redirection/templates/verify-config.php:11
- > PHP Notice
Undefined variable: maxitems in wp-content/plugins/blogger-to-wordpress-redirection/templates/feeds.php on line 12
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/tools.php?page=rt-blogger-to-wordpress-redirection
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'ambient-light-sensor'.
- > GET request to /wp-admin/tools.php?page=rt-blogger-to-wordpress-redirection
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'bluetooth'.
- > GET request to /wp-admin/tools.php?page=rt-blogger-to-wordpress-redirection
- > Security (warning) in unknown
security - Error with Permissions-Policy-Report-Only header: Unrecognized feature: 'document-domain'.
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
9 plugin tags: meta-refresh, blogger, blogspot, seo, traffic...
blogger-to-wordpress-redirection/b2w-redirection.php 85% from 13 tests
The primary PHP file in "Blogger To WordPress" version 2.3.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("blogger-to-wordpress-redirection.php" instead of "b2w-redirection.php")
- Description: Keep the plugin description shorter than 140 characters (currently 239 characters long)
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 detected466 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 191 | 78 | 398 |
JavaScript | 1 | 11 | 29 | 53 |
CSS | 1 | 0 | 0 | 15 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/btowp_img.png | 3.94KB | 1.87KB | ▼ 52.64% |
images/twitter.png | 1.06KB | 0.93KB | ▼ 12.76% |
images/facebook.png | 0.87KB | 0.71KB | ▼ 17.68% |
images/rss.png | 1.40KB | 1.42KB | 0.00% |