94% udorami-lists

Code Review | Udorami Lists

WordPress plugin Udorami Lists scored 94% from 54 tests.

About plugin

  • Plugin page: udorami-lists
  • Plugin version: 1.4.1
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.6
  • WordPress version: 5.9.2
  • First release: Jun 16, 2016
  • Latest release: Jan 18, 2021
  • Number of updates: 18
  • Update frequency: every 93.2 days
  • Top authors: udorami (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 577 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

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

An overview of server-side resources used by Udorami Lists
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.59 ▲0.0753.48 ▲2.77
Dashboard /wp-admin3.45 ▲0.0433.72 ▼2.64
Posts /wp-admin/edit.php3.68 ▲0.0436.90 ▼0.89
Add New Post /wp-admin/post-new.php6.96 ▼0.0497.64 ▼1,183.15
Media Library /wp-admin/upload.php3.34 ▲0.0324.98 ▼4.03
Udorami Lists /wp-admin/options-general.php?page=udorami3.3025.75

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A check of browser resources used by Udorami Lists
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,769 ▲1615.91 ▼0.045.79 ▼1.032.07 ▼0.87
Dashboard /wp-admin2,897 ▲436.10 ▼0.08118.70 ▼17.68158.58 ▼2.13
Posts /wp-admin/edit.php2,696 ▲83.23 ▲0.0162.82 ▼2.36138.93 ▼2.71
Add New Post /wp-admin/post-new.php1,664 ▲316.63 ▼0.70431.43 ▲4.97155.89 ▲5.28
Media Library /wp-admin/upload.php1,706 ▲85.51 ▼0.02140.28 ▼3.71185.81 ▼6.60
Udorami Lists /wp-admin/options-general.php?page=udorami1,1142.3753.58115.77

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
This plugin's uninstaller ran successfully

Smoke tests 75% from 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 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
  • 1× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/udorami-lists/udorami-lists.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
  • Screenshots: Screenshot #1 (The Setup description corresponds to udorami-setup.png.) image required
You can look at the official readme.txt

udorami-lists/udorami-lists.php Passed 13 tests

"Udorami Lists" version 1.4.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
53 characters long description:
Include a list from the Udorami social lists website.

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
Success! There were no dangerous files found in this plugin1,192 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript4251120869
PHP11924258
CSS281365

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.31
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%
Functions9
▷ Named functions9100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin