84% konzilo

Code Review | Wordpress Integration for Konzilo

WordPress plugin Wordpress Integration for Konzilo scored84%from 54 tests.

About plugin

  • Plugin page: konzilo
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-4.7
  • WordPress version: 6.3.1
  • First release: Jan 31, 2017
  • Latest release: Feb 10, 2017
  • Number of updates: 12
  • Update frequency: every 0.7 days
  • Top authors: fabsor (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /537 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼0.70ms] Passed 4 tests

Server-side resources used by Wordpress Integration for Konzilo
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0039.84 ▲0.41
Dashboard /wp-admin3.31 ▲0.0148.35 ▼5.15
Posts /wp-admin/edit.php3.36 ▲0.0048.66 ▲0.47
Add New Post /wp-admin/post-new.php5.90 ▲0.0194.35 ▲4.98
Media Library /wp-admin/upload.php3.23 ▲0.0038.38 ▲1.48

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-comments
widget_theysaidso_widget
can_compress_scripts
theysaidso_admin_options
widget_recent-posts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Wordpress Integration for Konzilo
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.72 ▲0.191.57 ▼0.7541.20 ▼6.45
Dashboard /wp-admin2,198 ▲185.65 ▼0.0392.70 ▲4.7942.41 ▼1.39
Posts /wp-admin/edit.php2,100 ▼02.01 ▲0.0438.89 ▲1.1536.11 ▼3.30
Add New Post /wp-admin/post-new.php6,281 ▲4,75520.67 ▼2.54931.06 ▲223.0561.70 ▲4.20
Media Library /wp-admin/upload.php1,397 ▼04.20 ▲0.09102.55 ▼2.6243.06 ▼4.69

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected

SRP 50% from 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
Please take a closer look at 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/konzilo/konzilo.php:36

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
8 plugin tags: social media, schedule posts to linkedin, social automation tool, konzilo, social media scheduling...

konzilo/konzilo.php Passed 13 tests

The main PHP script in "Wordpress Integration for Konzilo" version 1.1 is automatically included on every request by WordPress
30 characters long description:
Connect your site with Konzilo

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected127 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript17077
PHP191450

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.39
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%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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
There were not PNG files found in your plugin