84% iorad-editor

Code Review | iorad instant tutorial builder

WordPress plugin iorad instant tutorial builder scored84%from 54 tests.

About plugin

  • Plugin page: iorad-editor
  • Plugin version: 0.4
  • PHP version: 7.4.16
  • WordPress compatibility: 3.2-4.0
  • WordPress version: 6.3.1
  • First release: May 29, 2015
  • Latest release: Sep 11, 2015
  • Number of updates: 8
  • Update frequency: every 41.6 days
  • Top authors: iorad (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,078 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

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

This is a short check of server-side resources used by iorad instant tutorial builder
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0138.08 ▼4.00
Dashboard /wp-admin3.32 ▲0.0157.83 ▲3.46
Posts /wp-admin/edit.php3.37 ▲0.0150.87 ▲0.51
Add New Post /wp-admin/post-new.php5.92 ▲0.0389.10 ▼4.20
Media Library /wp-admin/upload.php3.24 ▲0.0141.39 ▲3.60

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

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

Browser metrics Passed 4 tests

iorad instant tutorial builder: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.72 ▲0.461.59 ▼0.1642.20 ▼2.06
Dashboard /wp-admin2,189 ▲125.52 ▼0.1486.10 ▼10.8442.27 ▼1.69
Posts /wp-admin/edit.php2,100 ▼01.99 ▼0.0436.92 ▼0.2634.97 ▼1.39
Add New Post /wp-admin/post-new.php1,692 ▲16622.12 ▼1.44655.75 ▼62.2959.65 ▲5.57
Media Library /wp-admin/upload.php1,397 ▼34.23 ▲0.05110.41 ▼5.7146.18 ▼1.72

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
Please fix the following items
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • 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
Even though no errors were found, this is by no means an exhaustive test

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 errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/iorad-editor/iorad-editor.php:15

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 errors were detected

Optimizations

Plugin configuration 93% 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
Attributes that require attention:
  • Plugin Name: You should set the name of your plugin on the first line ( === iorad-editor === )
  • Screenshots: Add images for these screenshots: #1 (This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from), #2 (This is the second screen shot)
You can take inspiration from this readme.txt

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

"iorad instant tutorial builder" version 0.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
62 characters long description:
Build step-by-step application tutorials right from wordpress.

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
Everything looks great! No dangerous files found in this plugin114 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript17359
PHP291732
CSS10014
Markdown1609

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.06
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%
Functions3
▷ Named functions3100.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
No PNG files were detected