84% mysqlist

Code Review | MySQList

WordPress plugin MySQList scored84%from 54 tests.

About plugin

  • Plugin page: mysqlist
  • Plugin version: 1.2.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.3
  • WordPress version: 6.3.1
  • First release: Sep 4, 2015
  • Latest release: Sep 8, 2015
  • Number of updates: 27
  • Update frequency: every 0.4 days
  • Top authors: vantezzen (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,321 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.10MB] [CPU: ▼3.27ms] Passed 4 tests

Analyzing server-side resources used by MySQList
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.57 ▲0.1144.32 ▲7.58
Dashboard /wp-admin3.46 ▲0.1683.63 ▲37.33
Posts /wp-admin/edit.php3.50 ▲0.1445.67 ▼3.74
Add New Post /wp-admin/post-new.php5.97 ▲0.0882.61 ▼17.16
Media Library /wp-admin/upload.php3.31 ▲0.0836.20 ▲0.23

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 11 new files
Database: 2 new tables, 7 new options
New tables
wp_mysqlist_list
wp_mysqlist_lists
New WordPress options
1.2.1
theysaidso_admin_options
widget_recent-comments
can_compress_scripts
db_upgraded
widget_recent-posts
widget_theysaidso_widget

Browser metrics Passed 4 tests

MySQList: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,812 ▲6613.30 ▼1.481.90 ▼0.0443.85 ▲1.17
Dashboard /wp-admin2,218 ▲304.87 ▼0.01103.01 ▼7.3339.84 ▼1.42
Posts /wp-admin/edit.php2,098 ▲91.99 ▼0.0235.32 ▼6.9435.19 ▼1.29
Add New Post /wp-admin/post-new.php1,547 ▲1423.21 ▼0.03663.98 ▲51.9554.62 ▲1.29
Media Library /wp-admin/upload.php1,400 ▲124.21 ▲0.0495.10 ▼9.9642.10 ▼2.64

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 7 options
    • widget_theysaidso_widget
    • can_compress_scripts
    • 1.2.1
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
  • 3× PHP files output text when accessed directly:
    • > /wp-content/plugins/mysqlist/uninstall.php
    • > /wp-content/plugins/mysqlist/admin/admin_menu.php
    • > /wp-content/plugins/mysqlist/mysqlist.php

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

readme.txt 94% from 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
Please fix the following attributes:
  • Screenshots: Screenshot #2 (Ansicht einer Liste) image required
You can look at the official readme.txt

mysqlist/mysqlist.php Passed 13 tests

"MySQList" version 1.2.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
53 characters long description:
Mit MySQList kannst du ganz einfach Listen erstellen.

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
Good job! No executable or dangerous file extensions detected457 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP65965457

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.20
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%
Functions26
▷ Named functions26100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.13MB with 0.11MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
icons/icon.png18.98KB1.27KB▼ 93.29%
screenshots/screenshot-1.png111.70KB31.77KB▼ 71.55%