89% wp-term-images

Code Review | WP Term Images

WordPress plugin WP Term Images scored89%from 54 tests.

About plugin

  • Plugin page: wp-term-images
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-5.6
  • WordPress version: 6.3.1
  • First release: Nov 9, 2015
  • Latest release: Nov 6, 2020
  • Number of updates: 12
  • Update frequency: every 152.0 days
  • Top authors: johnjamesjacoby (100%)

Code review

54 tests

User reviews

10 reviews

Install metrics

3,000+ active /42,288 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.11MB] [CPU: ▼5.18ms] Passed 4 tests

Server-side resources used by WP Term Images
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.58 ▲0.1240.99 ▲0.14
Dashboard /wp-admin3.41 ▲0.1143.27 ▼4.41
Posts /wp-admin/edit.php3.53 ▲0.1745.27 ▼4.13
Add New Post /wp-admin/post-new.php5.99 ▲0.1186.33 ▼11.51
Media Library /wp-admin/upload.php3.34 ▲0.1134.33 ▼0.68

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options

Browser metrics Passed 4 tests

WP Term Images: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.67 ▼0.911.63 ▼0.0939.71 ▼5.14
Dashboard /wp-admin2,206 ▲185.83 ▲0.9199.90 ▼13.2338.25 ▼0.81
Posts /wp-admin/edit.php2,089 ▲32.02 ▼0.0438.69 ▼1.2334.16 ▼3.62
Add New Post /wp-admin/post-new.php1,529 ▼618.34 ▼4.58618.23 ▼80.1457.88 ▼4.63
Media Library /wp-admin/upload.php1,388 ▲34.20 ▼0.0498.67 ▼20.4242.16 ▼6.53

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • The uninstall procedure has failed, leaving 7 options in the database
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • wpdb_term_image_version
    • 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
The smoke test was a success, however most plugin functionality was not tested

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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found


Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed: You can look at the official readme.txt

wp-term-images/wp-term-images.php 92% from 13 tests

The main PHP file in "WP Term Images" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
  • Domain Path: The domain path folder does not exist ("/assets/lang/")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin439 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.27
Average class complexity18.50
▷ Minimum class complexity4.00
▷ Maximum class complexity33.00
Average method complexity2.03
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes150.00%
▷ Static methods12.94%
▷ Public methods2676.47%
▷ Protected methods617.65%
▷ Private methods25.88%
▷ Named functions2100.00%
▷ Anonymous functions00.00%
▷ 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
There were not PNG files found in your plugin