100% easy-curated-lists

Code Review | Easy Curated Lists

WordPress plugin Easy Curated Lists scored 100% from 54 tests.

About plugin

  • Plugin page: easy-curated-lists
  • Plugin version: 1.0
  • PHP compatiblity: 5.5+
  • PHP version: 7.4.16
  • WordPress compatibility: 2.7-5.9
  • WordPress version: 5.9.2
  • First release: Jun 17, 2021
  • Latest release: Jan 26, 2022
  • Number of updates: 5
  • Update frequency: every 44.6 days
  • Top authors: arunbasillal (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 156 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully

Server metrics [RAM: ▼0.01MB] [CPU: ▼307.03ms] Passed 4 tests

Server-side resources used by Easy Curated Lists
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0253.32 ▲1.36
Dashboard /wp-admin3.42 ▲0.0131.53 ▼7.10
Posts /wp-admin/edit.php3.65 ▲0.0137.00 ▼1.12
Add New Post /wp-admin/post-new.php6.89 ▼0.0893.34 ▼1,221.25
Media Library /wp-admin/upload.php3.30 ▲0.0125.05 ▲1.54

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Easy Curated Lists
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,763 ▲915.99 ▲0.235.71 ▼0.832.37 ▼0.28
Dashboard /wp-admin2,888 ▲306.18 ▼0.05120.71 ▼11.85167.94 ▲5.42
Posts /wp-admin/edit.php2,657 ▼153.24 ▼0.0064.20 ▼0.65137.55 ▼2.47
Add New Post /wp-admin/post-new.php1,711 ▲5021.04 ▲3.24417.10 ▲28.37159.57 ▲0.35
Media Library /wp-admin/upload.php1,701 ▲35.46 ▼0.07142.68 ▼0.40187.04 ▲4.17

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstall script ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 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
4 plugin tags: knowledgebase, popular-posts, curated-list, recent-posts

easy-curated-lists/easy-curated-lists.php Passed 13 tests

The main file in "Easy Curated Lists" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
115 characters long description:
Display a curated list of posts, pages, products, or any post type using shortcode [easycuratedlists id='1,12,25'].

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin52 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP6256052

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.50
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%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.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