10% utw-importer

Code Review | Ultimate Tag Warrior Importer

WordPress plugin Ultimate Tag Warrior Importer scored 10% from 54 tests.

About plugin

  • Plugin page: utw-importer
  • Plugin version: 0.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-4.1
  • WordPress version: 5.8.1
  • First release: May 20, 2010
  • Latest release: Jul 12, 2018
  • Number of updates: 7
  • Update frequency: every 425.0 days
  • Top authors: nacin (42.86%)Otto42 (28.57%)nbachiyski (28.57%)briancolinger (28.57%)ryan (28.57%)

Code review

54 tests

User reviews

1 review

Install metrics

90+ active / 9,547 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
You still need to fix the following installer errors
  • The plugin cannot be installed
    • > Deprecated in wp-content/plugins/utw-importer/utw-importer.php+32
    Methods with the same name as their class will not be constructors in a future version of PHP; UTW_Import has a deprecated constructor

Server metrics [RAM: ▼1.82MB] [CPU: ▼193.53ms] Passed 4 tests

This is a short check of server-side resources used by Ultimate Tag Warrior Importer
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /1.81 ▼1.037.60 ▼31.28
Dashboard /wp-admin1.83 ▼1.235.62 ▼43.67
Posts /wp-admin/edit.php1.83 ▼1.287.60 ▼41.43
Add New Post /wp-admin/post-new.php1.83 ▼3.615.67 ▼657.75
Media Library /wp-admin/upload.php1.83 ▼1.176.21 ▼27.41

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Checking browser requirements for Ultimate Tag Warrior Importer
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,679 ▲10715.79 ▲0.217.90 ▼0.9351.94 ▼2.62
Dashboard /wp-admin2,967 ▲365.92 ▼0.03153.46 ▼8.23118.32 ▼1.76
Posts /wp-admin/edit.php2,739 ▼02.69 ▲0.0169.03 ▼5.44104.59 ▲9.52
Add New Post /wp-admin/post-new.php1,502 ▼18118.60 ▼0.23395.45 ▲14.76114.54 ▼10.33
Media Library /wp-admin/upload.php1,807 ▼05.01 ▼0.01162.34 ▼2.71122.33 ▲0.49

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
The following items require your attention
  • This plugin did not uninstall without warnings or errors
    • > Deprecated in wp-content/plugins/utw-importer/utw-importer.php+32
    Methods with the same name as their class will not be constructors in a future version of PHP; UTW_Import has a deprecated constructor

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
  • Donate link: Please fix this invalid url: ""
  • Plugin Name: You should set the name of your plugin on the first line ( === utw-importer === )
The official readme.txt might help

utw-importer/utw-importer.php Passed 13 tests

The entry point to "Ultimate Tag Warrior Importer" version 0.2 is a PHP file that has certain tags in its header comment area
53 characters long description:
Import Ultimate Tag Warrior tags into WordPress tags.

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
There were no executable files found in this plugin172 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP110237172

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.17
Average class complexity15.00
▷ Minimum class complexity15.00
▷ Maximum class complexity15.00
Average method complexity2.08
▷ Minimum method complexity1.00
▷ Maximum method complexity8.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods13
▷ Static methods00.00%
▷ Public methods13100.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

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin