83% mullweg-de

Code Review | MÜLLweg! DE

WordPress plugin MÜLLweg! DE scored83%from 54 tests.

About plugin

  • Plugin page: mullweg-de
  • Plugin version: 1.4.1
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-6.3
  • WordPress version: 6.3.1
  • First release: Aug 26, 2019
  • Latest release: Jul 22, 2023
  • Number of updates: 41
  • Update frequency: every 34.8 days
  • Top authors: lennartz68 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /3,131 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▲0.13ms] Passed 4 tests

Server-side resources used by MÜLLweg! DE
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0045.84 ▼0.52
Dashboard /wp-admin3.31 ▲0.0059.75 ▲4.69
Posts /wp-admin/edit.php3.36 ▲0.0052.36 ▲5.47
Add New Post /wp-admin/post-new.php5.89 ▲0.0089.13 ▼3.66
Media Library /wp-admin/upload.php3.23 ▲0.0037.51 ▲0.01

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-posts
theysaidso_admin_options
widget_recent-comments
can_compress_scripts
widget_theysaidso_widget

Browser metrics Passed 4 tests

A check of browser resources used by MÜLLweg! DE
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,791 ▲3014.28 ▼0.341.99 ▲0.0942.52 ▼5.86
Dashboard /wp-admin2,195 ▲215.51 ▼0.1487.53 ▼13.7838.28 ▼6.23
Posts /wp-admin/edit.php2,100 ▼01.97 ▼0.0337.18 ▼0.8333.26 ▼0.57
Add New Post /wp-admin/post-new.php1,526 ▼023.14 ▼0.11694.33 ▼4.0661.22 ▲6.61
Media Library /wp-admin/upload.php1,397 ▼34.21 ▲0.01109.18 ▲1.3547.58 ▲0.38

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • can_compress_scripts

Smoke tests 75% from 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 50% from 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
Please fix the following items
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_theme_root() in wp-content/plugins/mullweg-de/muellwegde-wp-plugin.php:11

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side

Optimizations

Plugin configuration 90% 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
Attributes that require attention:
  • Donate link: Invalid URI found ("")
You can look at the official readme.txt

mullweg-de/muellwegde-wp-plugin.php 85% from 13 tests

The primary PHP file in "MÜLLweg! DE" version 1.4.1 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("mullweg-de.php" instead of "muellwegde-wp-plugin.php")
  • Description: Keep the plugin description shorter than 140 characters (currently 617 characters long)

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
There were no executable files found in this plugin55 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP123854
CSS1001

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.84
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%
Functions2
▷ Named functions2100.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
No PNG files were detected