10% viversum-mondphase

Code Review | viversum: Mondphase

WordPress plugin viversum: Mondphase scored10%from 54 tests.

About plugin

  • Plugin page: viversum-mondphase
  • Plugin version: 1.0c...
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-3.5.1
  • WordPress version: 6.3.1
  • First release: May 22, 2013
  • Latest release: Aug 28, 2013
  • Number of updates: 5
  • Update frequency: every 20.4 days
  • Top authors: viversum (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,225 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
  • This plugin did not install gracefully
    • > Deprecated in wp-content/plugins/viversum-mondphase/viversum-mondphase.php+213
    Function create_function() is deprecated

Server metrics [RAM: ▼1.97MB] [CPU: ▼53.58ms] Passed 4 tests

Server-side resources used by viversum: Mondphase
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.03 ▼1.445.03 ▼31.12
Dashboard /wp-admin2.05 ▼1.304.85 ▼58.67
Posts /wp-admin/edit.php2.05 ▼1.316.18 ▼40.07
Add New Post /wp-admin/post-new.php2.05 ▼3.845.79 ▼84.46
Media Library /wp-admin/upload.php2.05 ▼1.185.83 ▼29.77

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: 2 new files
Database: no new tables, 7 new options
New WordPress options
db_upgraded
theysaidso_admin_options
widget_recent-posts
widget_theysaidso_widget
widget_viversummondphase
widget_recent-comments
can_compress_scripts

Browser metrics Passed 4 tests

An overview of browser requirements for viversum: Mondphase
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,827 ▲8113.26 ▼1.094.51 ▲2.9839.26 ▼2.65
Dashboard /wp-admin2,204 ▲245.82 ▲0.1394.78 ▲8.7041.79 ▲2.07
Posts /wp-admin/edit.php2,111 ▲112.27 ▲0.2839.46 ▲3.8235.96 ▼1.64
Add New Post /wp-admin/post-new.php1,530 ▼123.54 ▲0.19592.17 ▼51.7853.29 ▲2.59
Media Library /wp-admin/upload.php1,412 ▲124.33 ▲0.1294.31 ▼2.8742.04 ▼1.80

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
  • Uninstall procedure validation failed for this plugin
    • > Deprecated in wp-content/plugins/viversum-mondphase/viversum-mondphase.php+213
    Function create_function() is deprecated
  • Zombie WordPress options were found after uninstall: 7 options
    • widget_viversummondphase
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
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 smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration 87% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
  • Tags: Please reduce the number of tags, currently 24 tag instead of maximum 10
  • Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line ( === viversum-mondphase === )
Please take inspiration from this readme.txt

viversum-mondphase/viversum-mondphase.php 85% from 13 tests

Analyzing the main PHP file in "viversum: Mondphase" version 1.0c...
Please take the time to fix the following:
  • Version: Use only periods and digits for the version number (ex. "1.0.3" instead of "1.0c...")
  • Description: The description should be shorter than 140 characters (currently 195 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin113 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP13467113

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.18
Average class complexity8.00
▷ Minimum class complexity8.00
▷ Maximum class complexity8.00
Average method complexity2.17
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods6
▷ Static methods00.00%
▷ Public methods583.33%
▷ Protected methods00.00%
▷ Private methods116.67%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
There are no PNG files in this plugin