84% listamester

Code Review | Listamester

WordPress plugin Listamester scored 84% from 54 tests.

About plugin

  • Plugin page: listamester
  • Plugin version: 2.3.3
  • PHP compatiblity: 7.4.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0.1-6.3.1
  • WordPress version: 6.3.1
  • First release: Feb 22, 2019
  • Latest release: Sep 1, 2023
  • Number of updates: 14
  • Update frequency: every 118.0 days
  • Top authors: listamester (100%)

Code review

54 tests

User reviews

1 review

Install metrics

400+ active / 2,242 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
This plugin's installer ran successfully

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

An overview of server-side resources used by Listamester
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0236.08 ▼4.88
Dashboard /wp-admin3.33 ▲0.0245.72 ▼3.78
Posts /wp-admin/edit.php3.38 ▲0.0250.97 ▼1.76
Add New Post /wp-admin/post-new.php5.91 ▲0.0295.34 ▼20.99
Media Library /wp-admin/upload.php3.25 ▲0.0237.19 ▲2.53
Settings /wp-admin/admin.php?page=lm-settings3.2134.54
Frissítés /wp-admin/admin.php?page=lm-flush3.2131.01
Forms /wp-admin/admin.php?page=lm-forms3.21220.15

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: no new tables, 8 new options
New WordPress options
widget_recent-posts
theysaidso_admin_options
db_upgraded
widget_theysaidso_widget
listamester_lmid
widget_recent-comments
listamester_lmpwd
can_compress_scripts

Browser metrics Passed 4 tests

Checking browser requirements for Listamester
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,830 ▲9513.34 ▼1.461.70 ▼0.1437.72 ▼2.50
Dashboard /wp-admin2,239 ▲545.79 ▲0.91111.44 ▲5.0365.02 ▲17.00
Posts /wp-admin/edit.php2,119 ▲302.01 ▼0.0038.36 ▼1.6433.56 ▼5.66
Add New Post /wp-admin/post-new.php1,558 ▲1618.34 ▲0.08665.38 ▲29.8767.05 ▲16.10
Media Library /wp-admin/upload.php1,412 ▲244.14 ▼0.04100.93 ▼4.1576.36 ▲31.00
Settings /wp-admin/admin.php?page=lm-settings8472.0228.1428.58
Frissítés /wp-admin/admin.php?page=lm-flush8122.0325.2925.16
Forms /wp-admin/admin.php?page=lm-forms9182.0124.6627.29

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
    • > GET request to /wp-admin/admin.php?page=lm-forms
    • > Warning in wp-content/plugins/listamester/includes/class-listamester-admin.php+298
    Invalid argument supplied for foreach()

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
No browser errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
2 plugin tags: e-mail marketing, newsletter

listamester/listamester.php Passed 13 tests

The entry point to "Listamester" version 2.3.3 is a PHP file that has certain tags in its header comment area
63 characters long description:
Hírlevélküldő, email marketing szolgáltatás WordPress-hez

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin576 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
PHP637162463
PO File13235113

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.26
Average class complexity11.00
▷ Minimum class complexity1.00
▷ Maximum class complexity27.00
Average method complexity3.67
▷ Minimum method complexity1.00
▷ Maximum method complexity9.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes4
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes00.00%
Methods15
▷ Static methods213.33%
▷ Public methods1386.67%
▷ Protected methods00.00%
▷ Private methods213.33%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants6
▷ Global constants00.00%
▷ Class constants6100.00%
▷ Public constants6100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
images/lm.png0.44KB0.66KB0.00%