78% wens-ie-css3-support

Code Review | WEN's IE CSS3 Support

WordPress plugin WEN's IE CSS3 Support scored78%from 54 tests.

About plugin

  • Plugin page: wens-ie-css3-support
  • Plugin version: 1.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-3.9
  • WordPress version: 6.3.1
  • First release: Jul 13, 2013
  • Latest release: Apr 30, 2014
  • Number of updates: 22
  • Update frequency: every 13.3 days
  • Top authors: bhuwanroka (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

50+ active /3,733 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

Server metrics [RAM: ▼0.01MB] [CPU: ▼7.54ms] Passed 4 tests

A check of server-side resources used by WEN's IE CSS3 Support
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0035.54 ▼8.41
Dashboard /wp-admin3.31 ▼0.0455.01 ▼12.84
Posts /wp-admin/edit.php3.37 ▲0.0057.85 ▲5.60
Add New Post /wp-admin/post-new.php5.90 ▲0.0093.30 ▼11.07
Media Library /wp-admin/upload.php3.24 ▲0.0038.49 ▲2.16

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
db_upgraded
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

A check of browser resources used by WEN's IE CSS3 Support
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,802 ▲5614.53 ▲0.162.18 ▲0.5244.03 ▲2.25
Dashboard /wp-admin2,198 ▲215.66 ▲0.01122.34 ▲30.6247.64 ▲6.37
Posts /wp-admin/edit.php2,106 ▲92.06 ▲0.0539.87 ▲2.6940.82 ▲6.41
Add New Post /wp-admin/post-new.php1,548 ▲1723.19 ▼0.02649.76 ▼39.2071.56 ▲13.38
Media Library /wp-admin/upload.php1,403 ▲64.19 ▼0.03118.79 ▲5.6456.11 ▲5.33

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
It is recommended to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • db_upgraded
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts
    • theysaidso_admin_options

Smoke tests 50% 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 | 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× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/wens-ie-css3-support/pie/PIE.php
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wens-ie-css3-support/wen-iecss3-support.php:25

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
7 plugin tags: css3, transitions, css, ie, support...

wens-ie-css3-support/wen-iecss3-support.php 85% from 13 tests

"WEN's IE CSS3 Support" version 1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wens-ie-css3-support.php" instead of "wen-iecss3-support.php")
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 157 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
Good job! No executable or dangerous file extensions detected3,248 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript25328223,208
PHP243240

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.00
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%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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
There are no PNG files in this plugin