10% blogger-2-wp

Code Review | Blogger 2 WordPress

WordPress plugin Blogger 2 WordPress scored10%from 54 tests.

About plugin

  • Plugin page: blogger-2-wp
  • Plugin version: 0.5.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.2
  • WordPress version: 6.3.1
  • First release: Feb 13, 2014
  • Latest release: Jan 9, 2016
  • Number of updates: 18
  • Update frequency: every 38.8 days
  • Top authors: subins2000 (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

40+ active /5,319 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
  • The plugin cannot be installed
    • > Parse error in wp-content/plugins/blogger-2-wp/blogger-2-wp.php+234
    syntax error, unexpected end of file

Server metrics [RAM: ▲0.00MB] [CPU: ▼4.21ms] Passed 4 tests

Server-side resources used by Blogger 2 WordPress
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0038.20 ▼2.54
Dashboard /wp-admin3.31 ▲0.0047.95 ▼1.45
Posts /wp-admin/edit.php3.36 ▲0.0046.13 ▼1.99
Add New Post /wp-admin/post-new.php5.89 ▲0.0081.82 ▼10.84
Media Library /wp-admin/upload.php3.23 ▲0.0033.71 ▲2.41

Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
db_upgraded
widget_theysaidso_widget
can_compress_scripts
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Blogger 2 WordPress
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6514.74 ▲0.441.64 ▼0.1140.24 ▼2.14
Dashboard /wp-admin2,209 ▲275.91 ▲1.0197.33 ▼9.7339.14 ▼1.83
Posts /wp-admin/edit.php2,089 ▼02.00 ▼0.1234.92 ▼2.6834.40 ▲0.89
Add New Post /wp-admin/post-new.php1,536 ▼623.32 ▲5.34632.26 ▲12.1455.86 ▲0.76
Media Library /wp-admin/upload.php1,388 ▼34.17 ▼0.2294.75 ▼9.6640.59 ▼6.17

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-comments
    • theysaidso_admin_options
    • db_upgraded
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 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
The following issues need your attention
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Parse error
      syntax error, unexpected end of file in wp-content/plugins/blogger-2-wp/blogger-2-wp.php on line 234

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
  • Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line ( === blogger-2-wp === )
The official readme.txt might help

blogger-2-wp/blogger-2-wp.php 92% from 13 tests

"Blogger 2 WordPress" version 0.5.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
  • Description: Keep the plugin description shorter than 140 characters (currently 258 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 detected314 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP1211221
PO File1363693

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.23
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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
There are no PNG files in this plugin