89% tomikup-wishlist

Code Review | Seznam přání a hlídací pes Tomikup

WordPress plugin Seznam přání a hlídací pes Tomikup scored89%from 54 tests.

About plugin

  • Plugin page: tomikup-wishlist
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6.0-5.4.2
  • WordPress version: 6.3.1
  • First release: Jul 4, 2020
  • Latest release: Jul 5, 2020
  • Number of updates: 4
  • Update frequency: every 5.8 days
  • Top authors: apophys (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

10+ active /472 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
Installer ran successfully

Server metrics [RAM: ▲0.05MB] [CPU: ▼5.67ms] Passed 4 tests

This is a short check of server-side resources used by Seznam přání a hlídací pes Tomikup
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.56 ▲0.0542.95 ▼0.78
Dashboard /wp-admin3.40 ▲0.0554.27 ▼0.23
Posts /wp-admin/edit.php3.52 ▲0.1151.51 ▼2.76
Add New Post /wp-admin/post-new.php5.98 ▲0.0592.85 ▼18.45
Media Library /wp-admin/upload.php3.33 ▲0.0538.38 ▼0.68

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

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

Browser metrics Passed 4 tests

Checking browser requirements for Seznam přání a hlídací pes Tomikup
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,803 ▲1714.26 ▼0.021.51 ▼0.3540.09 ▼5.10
Dashboard /wp-admin2,206 ▲255.55 ▼0.1783.16 ▼23.0139.70 ▼3.78
Posts /wp-admin/edit.php2,114 ▲111.99 ▼0.0135.44 ▼6.5536.60 ▼0.35
Add New Post /wp-admin/post-new.php1,538 ▲1022.92 ▼0.15695.15 ▲21.0854.48 ▼11.95
Media Library /wp-admin/upload.php1,417 ▲174.21 ▼0.0097.11 ▲3.8645.56 ▲5.44

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_theysaidso_widget
    • widget_recent-comments
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however 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
Congratulations! This plugin passed the SRP test

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 88% 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 need to be fixed:
  • Donate link: Please fix this invalid URI: ""
  • Screenshots: Please add an image for screenshot #1 (screen-1.png)
The official readme.txt is a good inspiration

tomikup-wishlist/tomikup.php 92% from 13 tests

"Seznam přání a hlídací pes Tomikup" version 1.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("tomikup-wishlist.php" instead of "tomikup.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected8,539 lines of code in 25 files:
LanguageFilesBlank linesComment linesLines of code
CSS32526,891
PHP13154121742
JavaScript5259557
PO File3147162348
SVG1001

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.32
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%
Functions18
▷ Named functions18100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin