82% ie-css3-support

Code Review | IE CSS3 Support

WordPress plugin IE CSS3 Support scored 82% from 53 tests.

About plugin

  • Plugin page: ie-css3-support
  • Plugin version: 2.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-3.0.1
  • WordPress version: 5.8.1
  • First release: Oct 20, 2012
  • Latest release: Jan 7, 2013
  • Number of updates: 23
  • Update frequency: every 3.5 days
  • Top authors: Cristopher Dino (100%)

Code review

53 tests

User reviews

9 reviews

Install metrics

100+ active / 5,598 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▲0.06MB] [CPU: ▼282.33ms] Passed 4 tests

Analyzing server-side resources used by IE CSS3 Support
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.78 ▲0.0623.15 ▲3.10
Dashboard /wp-admin3.12 ▲0.0644.79 ▼1.18
Posts /wp-admin/edit.php3.17 ▲0.0642.94 ▼1.65
Add New Post /wp-admin/post-new.php5.48 ▲0.0592.42 ▼1,119.85
Media Library /wp-admin/upload.php3.06 ▲0.0532.66 ▼6.63
IE CSS3 Support /wp-admin/options-general.php?page=ie-csss3-support3.0025.73

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 2 new options
New WordPress options
current_size
added_stylesheet

Browser metrics Passed 4 tests

An overview of browser requirements for IE CSS3 Support
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,711 ▲10515.86 ▲0.348.90 ▼2.1347.66 ▲0.51
Dashboard /wp-admin2,969 ▲1166.11 ▲0.28134.27 ▲7.41102.65 ▼3.49
Posts /wp-admin/edit.php2,713 ▲102.68 ▼0.0262.91 ▼3.2385.42 ▼3.89
Add New Post /wp-admin/post-new.php1,658 ▼19518.77 ▼0.31356.92 ▼10.06111.05 ▲4.11
Media Library /wp-admin/upload.php1,779 ▲45.05 ▲0.03152.72 ▲3.90109.43 ▼1.53
IE CSS3 Support /wp-admin/options-general.php?page=ie-csss3-support1,0942.0850.9465.13

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled successfully, without leaving any zombie files or tables

Smoke tests 25% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
    • > GET request to /wp-admin/options-general.php?page=ie-csss3-support
    • > Notice in wp-content/plugins/ie-css3-support/ie-css-support.php+172
    unserialize(): Error at offset 0 of 1 bytes
    • > GET request to /wp-admin/options-general.php?page=ie-csss3-support
    • > Warning in wp-content/plugins/ie-css3-support/ie-css-support.php+181
    count(): Parameter must be an array or an object that implements Countable

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/ie-css3-support/ie-css-support.php:29

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
    • > GET request to /wp-admin/options-general.php?page=ie-csss3-support
    • > Network (severe)
    http://www.magicaffiliateplugin.com/img/mga-125x125.gif - Failed to load resource: the server responded with a status of 404 (Not Found)

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: css, ie, intener explorer pie, css3

ie-css3-support/ie-css-support.php 92% from 13 tests

This is the main PHP file of "IE CSS3 Support" version 2.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
  • Main file name: Name the main plugin file the same as the plugin slug ("ie-css3-support.php" instead of "ie-css-support.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected353 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP220492273
CSS291680

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.37
Average class complexity26.00
▷ Minimum class complexity26.00
▷ Maximum class complexity26.00
Average method complexity2.79
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods14
▷ Static methods00.00%
▷ Public methods14100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions6
▷ Named functions6100.00%
▷ Anonymous functions00.00%
Constants6
▷ Global constants6100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 1 test

Image compression Passed 1 test

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