89% deiknumi

Code Review | Deíknūmi

WordPress plugin Deíknūmi scored89%from 54 tests.

About plugin

  • Plugin page: deiknumi
  • Plugin version: 1.00
  • PHP compatiblity: 5.8.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-5.8
  • WordPress version: 6.3.1
  • First release: Sep 5, 2019
  • Latest release: Dec 14, 2021
  • Number of updates: 3
  • Update frequency: every 277.0 days
  • Top authors: kosvrouvas (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /494 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
Install script ran successfully

Server metrics [RAM: ▼0.01MB] [CPU: ▼9.08ms] Passed 4 tests

Analyzing server-side resources used by Deíknūmi
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0136.66 ▼10.15
Dashboard /wp-admin3.31 ▼0.0447.49 ▼12.08
Posts /wp-admin/edit.php3.36 ▲0.0046.48 ▲1.80
Add New Post /wp-admin/post-new.php5.89 ▲0.0080.13 ▼13.12
Media Library /wp-admin/upload.php3.24 ▲0.0034.20 ▼0.97

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
theysaidso_admin_options
db_upgraded
widget_recent-posts
widget_recent-comments
widget_theysaidso_widget

Browser metrics Passed 4 tests

An overview of browser requirements for Deíknūmi
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,858 ▲11213.25 ▼1.132.19 ▲0.4852.04 ▲7.81
Dashboard /wp-admin2,209 ▲214.88 ▼0.06105.87 ▲4.2041.85 ▲1.44
Posts /wp-admin/edit.php2,089 ▲32.03 ▲0.0134.65 ▼1.3232.70 ▼3.26
Add New Post /wp-admin/post-new.php1,533 ▲1923.13 ▲5.63669.72 ▼2.8756.19 ▲5.74
Media Library /wp-admin/upload.php1,391 ▲34.20 ▲0.0393.19 ▼14.2643.70 ▼4.38

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
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 shallow check for browser errors
No browser errors were detected

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
  • Donate link: Invalid url: ""
  • Tags: No tags were detected
Please take inspiration from this readme.txt

deiknumi/deiknumi.php 92% from 13 tests

The primary PHP file in "Deíknūmi" version 1.00 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
  • Text Domain: Please use dashes and lowercase characters for text domains

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin68 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP262229
CSS14027
Markdown12012

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.25
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%
Constants0
▷ Global constants00.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