84% circlelist

Code Review | CircleList

WordPress plugin CircleList scored 84% from 54 tests.

About plugin

  • Plugin page: circlelist
  • Plugin version: 0.2
  • PHP version: 7.4.16
  • WordPress compatibility: 4.1-4.1.1
  • WordPress version: 5.9.2
  • First release: Apr 16, 2015
  • Latest release: Apr 22, 2015
  • Number of updates: 6
  • Update frequency: every 2.0 days
  • Top authors: yyano (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 586 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.12MB] [CPU: ▼287.96ms] Passed 4 tests

Server-side resources used by CircleList
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.72 ▲0.2058.30 ▲12.26
Dashboard /wp-admin3.56 ▲0.1537.97 ▲4.85
Posts /wp-admin/edit.php3.79 ▲0.1437.31 ▲0.93
Add New Post /wp-admin/post-new.php7.03 ▲0.0697.28 ▼1,150.46
Media Library /wp-admin/upload.php3.44 ▲0.1325.88 ▼7.14
Setting /wp-admin/edit.php?post_type=circlelist&page=circlelist_setting3.4123.29
Import/Export /wp-admin/edit.php?post_type=circlelist&page=circlelist_import_export3.4122.40
Taxonomy /wp-admin/edit-tags.php?taxonomy=circlelist_taxonomy&post_type=circlelist3.4424.67
All Circles /wp-admin/edit.php?post_type=circlelist3.5524.09
Add Circle /wp-admin/post-new.php?post_type=circlelist3.7241.75

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 1 new option
New WordPress options
circlelist_setting

Browser metrics Passed 4 tests

This is an overview of browser requirements for CircleList
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,849 ▲9515.78 ▼0.135.98 ▼0.042.82 ▼0.16
Dashboard /wp-admin2,944 ▲866.09 ▼0.15119.21 ▼17.12152.29 ▼10.28
Posts /wp-admin/edit.php2,743 ▲493.24 ▲0.0161.94 ▼1.49136.98 ▼8.30
Add New Post /wp-admin/post-new.php1,693 ▼1816.05 ▼5.66427.59 ▼0.79158.24 ▼11.46
Media Library /wp-admin/upload.php1,753 ▲525.53 ▼0.00138.50 ▼9.96188.74 ▼4.13
Setting /wp-admin/edit.php?post_type=circlelist&page=circlelist_setting1,1042.3954.57112.77
Import/Export /wp-admin/edit.php?post_type=circlelist&page=circlelist_import_export1,0632.4153.24107.72
Taxonomy /wp-admin/edit-tags.php?taxonomy=circlelist_taxonomy&post_type=circlelist1,6712.7857.61109.94
All Circles /wp-admin/edit.php?post_type=circlelist1,4443.1559.32113.28
Add Circle /wp-admin/post-new.php?post_type=circlelist2,1623.8996.36134.57

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
  • This plugin did not uninstall successfully, leaving 1 option in the database
    • circlelist_setting

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/circlelist/circlelist.php:26

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

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: custom post, shortcode, links

circlelist/circlelist.php 92% from 13 tests

The entry point to "CircleList" version 0.2 is a PHP file that has certain tags in its header comment area
The following require your attention:
  • Domain Path: The domain path points to an invalid folder, "/languages" does not exist

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
There were no executable files found in this plugin450 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP39116450

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.27
Average class complexity18.00
▷ Minimum class complexity10.00
▷ Maximum class complexity24.00
Average method complexity3.43
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
Methods21
▷ Static methods00.00%
▷ Public methods21100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.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
PNG images were not found in this plugin