90% dadevarzan-wp-catalog

Code Review | Dadevarzan WordPress Catalog

WordPress plugin Dadevarzan WordPress Catalog scored 90% from 54 tests.

About plugin

  • Plugin page: dadevarzan-wp-cat...
  • Plugin version: 1.1.8
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4.0-6.0.0
  • WordPress version: 6.3.1
  • First release: Feb 2, 2019
  • Latest release: May 31, 2022
  • Number of updates: 8
  • Update frequency: every 152.0 days
  • Top authors: dadevarzan (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 764 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▲0.08MB] [CPU: ▼4.00ms] Passed 4 tests

An overview of server-side resources used by Dadevarzan WordPress Catalog
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0839.79 ▼3.78
Dashboard /wp-admin3.37 ▲0.0644.65 ▼6.40
Posts /wp-admin/edit.php3.47 ▲0.1246.51 ▲6.61
Add New Post /wp-admin/post-new.php6.06 ▲0.1784.51 ▼7.95
Media Library /wp-admin/upload.php3.29 ▲0.0633.13 ▲2.15

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

Dadevarzan WordPress Catalog: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,834 ▲4513.28 ▲0.095.04 ▲3.4043.62 ▼3.76
Dashboard /wp-admin2,237 ▲314.86 ▼0.02109.23 ▼8.5242.42 ▼6.50
Posts /wp-admin/edit.php2,120 ▲311.99 ▲0.0340.81 ▲1.0038.59 ▲4.06
Add New Post /wp-admin/post-new.php1,573 ▲3718.24 ▼4.85619.76 ▲8.1371.83 ▲20.40
Media Library /wp-admin/upload.php1,413 ▲284.21 ▲0.0393.30 ▼8.5242.63 ▼3.69

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-comments
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found


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
5 plugin tags: dadevarzan, catalog, wp, dadehvarzan, wordpress

dadevarzan-wp-catalog/dadevarzan-wp-catalog.php Passed 13 tests

Analyzing the main PHP file in "Dadevarzan WordPress Catalog" version 1.1.8
31 characters long description:
catalog post type for wordpress

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
No dangerous file extensions were detected219 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PO File1171849

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.24
Average class complexity8.00
▷ Minimum class complexity8.00
▷ Maximum class complexity8.00
Average method complexity2.00
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods7100.00%
▷ Public methods7100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions00.00%
▷ Anonymous functions00.00%
▷ 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
No PNG files were detected