10% viversum-tageshoroskop

Code Review | viversum: Tageshoroskop

WordPress plugin viversum: Tageshoroskop scored10%from 54 tests.

About plugin

  • Plugin page: viversum-tageshor...
  • Plugin version: 1.0f...
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-3.5.1
  • WordPress version: 6.3.1
  • First release: Mar 7, 2013
  • Latest release: Aug 28, 2013
  • Number of updates: 19
  • Update frequency: every 9.2 days
  • Top authors: viversum (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

10+ active /1,804 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
  • Install procedure validation failed for this plugin
    • > Deprecated in wp-content/plugins/viversum-tageshoroskop/viversum-tageshoroskop.php+213
    Function create_function() is deprecated

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

Server-side resources used by viversum: Tageshoroskop
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.03 ▼1.443.83 ▼38.99
Dashboard /wp-admin2.05 ▼1.305.30 ▼62.19
Posts /wp-admin/edit.php2.05 ▼1.314.88 ▼43.73
Add New Post /wp-admin/post-new.php2.05 ▼3.845.32 ▼93.10
Media Library /wp-admin/upload.php2.05 ▼1.186.13 ▼31.82

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

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 7 new options
New WordPress options
widget_theysaidso_widget
widget_recent-comments
widget_recent-posts
can_compress_scripts
db_upgraded
widget_viversumtageshoroskop
theysaidso_admin_options

Browser metrics Passed 4 tests

Checking browser requirements for viversum: Tageshoroskop
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,813 ▲4213.41 ▼0.941.63 ▼0.2039.05 ▼4.03
Dashboard /wp-admin2,218 ▲335.10 ▲0.01101.56 ▼7.4240.09 ▼7.66
Posts /wp-admin/edit.php2,097 ▲82.30 ▲0.2434.74 ▼4.1533.51 ▼4.84
Add New Post /wp-admin/post-new.php1,532 ▼423.47 ▲0.28657.77 ▲5.1965.44 ▼2.24
Media Library /wp-admin/upload.php1,400 ▲124.49 ▲0.28103.98 ▲2.9049.30 ▲1.36

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
  • Uninstall procedure validation failed for this plugin
    • > Deprecated in wp-content/plugins/viversum-tageshoroskop/viversum-tageshoroskop.php+213
    Function create_function() is deprecated
  • Zombie WordPress options were found after uninstall: 7 options
    • widget_viversumtageshoroskop
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected

Optimizations

Plugin configuration 83% from 29 tests

readme.txt 81% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
  • Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line ( === viversum-tageshoroskop === )
  • Screenshots: A description for screenshot #2 is missing in viversum-tageshoroskop/assets to your readme.txt
  • Tags: Please reduce the number of tags, currently 24 tag instead of maximum 10
You can look at the official readme.txt

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

"viversum: Tageshoroskop" version 1.0f...'s main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
  • Version: The version number should only use digits and periods (ex. "1.0.3" instead of "1.0f...")
  • Description: Please don't use more than 140 characters for the plugin description (currently 210 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin119 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP12966119

PHP code Passed 2 tests

An short overview of 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.20
Average class complexity10.00
▷ Minimum class complexity10.00
▷ Maximum class complexity10.00
Average method complexity2.50
▷ Minimum method complexity1.00
▷ Maximum method complexity5.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

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
12 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/set4.png2.50KB1.86KB▼ 25.43%
images/set3.png2.83KB1.80KB▼ 36.36%
images/set9.png2.82KB1.74KB▼ 38.25%
images/set10.png2.80KB1.79KB▼ 36.00%
images/set5.png4.76KB2.29KB▼ 51.91%