74% kije-editor

Code Review | Kije Editor

WordPress plugin Kije Editor scored74%from 54 tests.

About plugin

  • Plugin page: kije-editor
  • Plugin version: 1.5
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-4.7
  • WordPress version: 6.3.1
  • First release: Aug 22, 2017
  • Latest release: Oct 13, 2017
  • Number of updates: 10
  • Update frequency: every 5.8 days
  • Top authors: kijekoon (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /694 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▼1.93MB] [CPU: ▼52.52ms] Passed 4 tests

A check of server-side resources used by Kije Editor
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.06 ▼1.409.59 ▼34.93
Dashboard /wp-admin2.08 ▼1.235.26 ▼45.53
Posts /wp-admin/edit.php2.08 ▼1.285.69 ▼41.19
Add New Post /wp-admin/post-new.php2.08 ▼3.817.24 ▼88.43
Media Library /wp-admin/upload.php2.08 ▼1.155.35 ▼32.98

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_theysaidso_widget
db_upgraded
widget_recent-posts
widget_recent-comments
can_compress_scripts

Browser metrics Passed 4 tests

An overview of browser requirements for Kije Editor
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,808 ▲7313.24 ▼1.531.96 ▲0.0940.30 ▼3.39
Dashboard /wp-admin2,208 ▲205.85 ▲0.9595.63 ▼19.9438.67 ▼7.76
Posts /wp-admin/edit.php2,094 ▲52.03 ▼0.0737.33 ▲1.0233.81 ▼4.39
Add New Post /wp-admin/post-new.php1,516 ▼517.66 ▼5.33686.92 ▲3.9358.49 ▲6.21
Media Library /wp-admin/upload.php1,390 ▼14.19 ▼0.0397.58 ▼7.5741.20 ▼5.26

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
  • This plugin cannot be uninstalled
    • > User notice in wp-includes/functions.php+5905
    Function wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the kije-main-style handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options
    • db_upgraded
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/kije-editor/kije-editor.php:10

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 Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: formatting, tinymce, webeditor, write, editor

kije-editor/kije-editor.php Passed 13 tests

"Kije Editor" version 1.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
51 characters long description:
Kije Editor is best way to apply theme to your post

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
Success! There were no dangerous files found in this plugin1,476 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript2440974
CSS185441
PHP120761

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.26
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%
Functions8
▷ Named functions8100.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
16 PNG files occupy 0.34MB with 0.21MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/cross.png0.93KB0.61KB▼ 34.49%
images/github.png20.21KB2.63KB▼ 86.98%
images/fashion.png18.83KB1.82KB▼ 90.33%
question-sign.png0.64KB0.65KB0.00%
images/elizabeth.png19.34KB1.60KB▼ 91.74%