90% wp-ie-buster

Code Review | WP IE Buster

WordPress plugin WP IE Buster scored90%from 54 tests.

About plugin

  • Plugin page: wp-ie-buster
  • Plugin version: 1.4.1
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-6.0
  • WordPress version: 6.3.1
  • First release: Sep 22, 2018
  • Latest release: Oct 11, 2022
  • Number of updates: 13
  • Update frequency: every 113.9 days
  • Top authors: qrac (100%)

Code review

54 tests

User reviews

9 reviews

Install metrics

1,000+ active /7,512 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully

Server metrics [RAM: ▲0.04MB] [CPU: ▼5.35ms] Passed 4 tests

Server-side resources used by WP IE Buster
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0339.01 ▼4.50
Dashboard /wp-admin3.35 ▲0.0545.33 ▼8.74
Posts /wp-admin/edit.php3.47 ▲0.1145.97 ▲0.87
Add New Post /wp-admin/post-new.php5.93 ▲0.0485.02 ▼5.90
Media Library /wp-admin/upload.php3.27 ▲0.0433.78 ▼2.27
WP IE Buster /wp-admin/options-general.php?page=wp-ie-buster-settings3.2431.14

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

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

Browser metrics Passed 4 tests

WP IE Buster: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,829 ▲9413.55 ▼1.094.48 ▲2.3743.17 ▼2.80
Dashboard /wp-admin2,213 ▲214.84 ▼0.04103.30 ▼2.7539.22 ▼6.99
Posts /wp-admin/edit.php2,093 ▲42.04 ▲0.0540.09 ▲1.9935.67 ▼1.71
Add New Post /wp-admin/post-new.php1,536 ▲323.15 ▼0.21698.47 ▲19.0353.53 ▼5.46
Media Library /wp-admin/upload.php1,392 ▲44.24 ▲0.0596.62 ▲2.4640.46 ▼5.02
WP IE Buster /wp-admin/options-general.php?page=wp-ie-buster-settings8052.0323.3026.79

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: popup, ie, link, download, buster

wp-ie-buster/wp-ie-buster.php Passed 13 tests

The main PHP script in "WP IE Buster" version 1.4.1 is automatically included on every request by WordPress
41 characters long description:
Display a popup to prompt IE users Chrome

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin246 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP33511202
PO File1132144

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.26
Average class complexity8.50
▷ Minimum class complexity5.00
▷ Maximum class complexity12.00
Average method complexity2.00
▷ Minimum method complexity1.00
▷ Maximum method complexity11.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods15
▷ Static methods320.00%
▷ Public methods15100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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