89% ele-term-list

Code Review | Elementor Term List

WordPress plugin Elementor Term List scored89%from 54 tests.

About plugin

  • Plugin page: ele-term-list
  • Plugin version: 1.1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.6
  • WordPress version: 6.3.1
  • First release: Jan 13, 2020
  • Latest release: Jan 5, 2021
  • Number of updates: 7
  • Update frequency: every 51.4 days
  • Top authors: dudaster (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

100+ active /2,531 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
Install script ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼0.57ms] Passed 4 tests

Analyzing server-side resources used by Elementor Term List
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0237.06 ▼2.33
Dashboard /wp-admin3.33 ▲0.0245.94 ▼2.70
Posts /wp-admin/edit.php3.38 ▲0.0248.84 ▼2.12
Add New Post /wp-admin/post-new.php5.91 ▲0.0293.54 ▲5.10
Media Library /wp-admin/upload.php3.25 ▲0.0235.69 ▲4.85

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_theysaidso_widget
can_compress_scripts
widget_recent-comments
theysaidso_admin_options
db_upgraded

Browser metrics Passed 4 tests

This is an overview of browser requirements for Elementor Term List
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,818 ▲7213.23 ▼1.204.64 ▲2.8940.74 ▼6.71
Dashboard /wp-admin2,224 ▲364.87 ▼0.04107.57 ▼8.5742.24 ▼1.27
Posts /wp-admin/edit.php2,109 ▲201.99 ▼0.0640.47 ▲2.4736.22 ▲2.46
Add New Post /wp-admin/post-new.php1,527 ▼117.59 ▼5.44666.73 ▲71.4472.43 ▲22.65
Media Library /wp-admin/upload.php1,403 ▲184.22 ▲0.02101.12 ▲6.0043.73 ▲1.16

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

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 90% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
  • Screenshots: Add images for these screenshots: #1 (/assets/screenshot1.JPG), #2 (/assets/screenshot2.JPG)
  • Screenshots: These screenshots lack descriptions #0, #0 in ele-term-list/assets to your readme.txt
The official readme.txt is a good inspiration

ele-term-list/ele-term-list.php 92% from 13 tests

The main PHP file in "Elementor Term List" ver. 1.1.1 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
  • Domain Path: The domain path folder does not exist ("/languages")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected1,176 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP42222321,176

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.23
Average class complexity16.00
▷ Minimum class complexity3.00
▷ Maximum class complexity36.00
Average method complexity2.25
▷ Minimum method complexity1.00
▷ Maximum method complexity12.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes133.33%
Methods36
▷ Static methods12.78%
▷ Public methods2055.56%
▷ Protected methods719.44%
▷ Private methods925.00%
Functions2
▷ Named functions00.00%
▷ Anonymous functions2100.00%
Constants3
▷ Global constants00.00%
▷ Class constants3100.00%
▷ Public constants3100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin