90% listdomer-core

Code Review | Listdomer Core - Core of Listdomer Theme

WordPress plugin Listdomer Core - Core of Listdomer Theme scored 90% from 54 tests.

About plugin

  • Plugin page: listdomer-core
  • Plugin version: 1.0.6
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0.0-6.2
  • WordPress version: 6.3.1
  • First release: Jun 17, 2021
  • Latest release: Mar 25, 2023
  • Number of updates: 11
  • Update frequency: every 58.7 days
  • Top authors: totalery (100%)

Code review

54 tests

User reviews

1 review

Install metrics

200+ active / 5,212 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.05MB] [CPU: ▲1.11ms] Passed 4 tests

A check of server-side resources used by Listdomer Core - Core of Listdomer Theme
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0642.06 ▼1.18
Dashboard /wp-admin3.36 ▲0.0548.64 ▲0.68
Posts /wp-admin/edit.php3.47 ▲0.1150.53 ▲3.29
Add New Post /wp-admin/post-new.php5.94 ▲0.0589.55 ▲1.63
Media Library /wp-admin/upload.php3.28 ▲0.0537.00 ▲3.60
Listdomer /wp-admin/admin.php?page=listdomer3.2431.40

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 51 new files
Database: no new tables, 7 new options
New WordPress options
widget_theysaidso_widget
widget_recent-comments
theysaidso_admin_options
db_upgraded
widget_recent-posts
can_compress_scripts
widget_lsdrc_widgets_contact

Browser metrics Passed 4 tests

A check of browser resources used by Listdomer Core - Core of Listdomer Theme
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,831 ▲4213.57 ▼0.961.80 ▼0.1933.85 ▼9.62
Dashboard /wp-admin2,237 ▲314.93 ▼0.90109.38 ▲9.7085.04 ▲45.08
Posts /wp-admin/edit.php2,123 ▲342.00 ▲0.0037.35 ▲2.9041.80 ▲6.89
Add New Post /wp-admin/post-new.php1,540 ▲2017.57 ▼5.73726.81 ▲13.2750.60 ▼3.22
Media Library /wp-admin/upload.php1,422 ▲374.11 ▼0.12102.50 ▼0.0793.46 ▲45.59
Listdomer /wp-admin/admin.php?page=listdomer7932.0235.4126.90

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

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

Smoke tests Passed 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 Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: listdom, listdomer, totalery, classifieds, listings...

listdomer-core/listdomer-core.php Passed 13 tests

The principal PHP file in "Listdomer Core - Core of Listdomer Theme" v. 1.0.6 is loaded by WordPress automatically on each request
32 characters long description:
Core Features of Listdomer Theme

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected30,058 lines of code in 29 files:
LanguageFilesBlank linesComment linesLines of code
XML229417627,841
PHP264324201,930
PO File1125170287

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.65
Average class complexity12.06
▷ Minimum class complexity1.00
▷ Maximum class complexity34.00
Average method complexity3.16
▷ Minimum method complexity1.00
▷ Maximum method complexity33.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes16
▷ Abstract classes00.00%
▷ Concrete classes16100.00%
▷ Final classes16.25%
Methods82
▷ Static methods22.44%
▷ Public methods7085.37%
▷ Protected methods910.98%
▷ Private methods33.66%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants4
▷ Global constants4100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/img/listdomer-icon.png1.55KB0.76KB▼ 51.10%
demos/demo1/logo.png1.99KB1.44KB▼ 27.69%