78% koddostu-panel

Code Review | Koddostu Panel

WordPress plugin Koddostu Panel scored78%from 54 tests.

About plugin

  • Plugin page: koddostu-panel
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-1.0
  • WordPress version: 6.3.1
  • First release: Aug 4, 2016
  • Latest release: Aug 4, 2016
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: emete (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

10+ active /891 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼10.00ms] Passed 4 tests

An overview of server-side resources used by Koddostu Panel
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0136.50 ▼9.21
Dashboard /wp-admin3.32 ▲0.0248.89 ▼6.07
Posts /wp-admin/edit.php3.37 ▲0.0245.49 ▼11.64
Add New Post /wp-admin/post-new.php5.90 ▲0.0293.33 ▼13.06
Media Library /wp-admin/upload.php3.25 ▲0.0235.67 ▼3.26
Koddostu Panel /wp-admin/options-general.php?page=koddostu-panel-identifier3.1933.79

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for Koddostu Panel
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,844 ▲8313.18 ▼1.581.96 ▲0.2646.12 ▲5.49
Dashboard /wp-admin2,225 ▲224.81 ▼1.06125.36 ▲12.4640.73 ▼6.55
Posts /wp-admin/edit.php2,104 ▲42.00 ▲0.0038.28 ▼6.8436.87 ▼1.20
Add New Post /wp-admin/post-new.php1,558 ▲2718.41 ▼4.68628.37 ▼85.9867.83 ▼14.00
Media Library /wp-admin/upload.php1,407 ▲104.24 ▼0.00104.49 ▼43.7949.46 ▼0.53
Koddostu Panel /wp-admin/options-general.php?page=koddostu-panel-identifier7872.0225.9625.70

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_theysaidso_widget
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
    • > GET request to /wp-admin/options-general.php?page=koddostu-panel-identifier
    • > Notice in wp-content/plugins/koddostu-panel/koddostu-panel.php+40
    Trying to access array offset on value of type bool

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
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/koddostu-panel/koddostu-panel.php:28

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
  • Donate link: Invalid URI ("no need")
You can look at the official readme.txt

koddostu-panel/koddostu-panel.php Passed 13 tests

"Koddostu Panel" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
77 characters long description:
A plugin to easily implement Koddostu Panel on any wordpress blog or website.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected48 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1112248

PHP code Passed 2 tests

Analyzing 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.24
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%
Functions7
▷ Named functions7100.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
No PNG files were detected