83% instant-edit-everything

Code Review | Instant Edit Everything

WordPress plugin Instant Edit Everything scored83%from 54 tests.

About plugin

  • Plugin page: instant-edit-ever...
  • Plugin version: 2.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.7-4.9.6
  • WordPress version: 6.3.1
  • First release: Jun 17, 2018
  • Latest release: Jul 18, 2018
  • Number of updates: 18
  • Update frequency: every 1.9 days
  • Top authors: krupalpatel92 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /699 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.04MB] [CPU: ▼7.47ms] Passed 4 tests

This is a short check of server-side resources used by Instant Edit Everything
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0645.11 ▼1.03
Dashboard /wp-admin3.35 ▼0.0053.55 ▼12.57
Posts /wp-admin/edit.php3.40 ▲0.0449.50 ▲0.15
Add New Post /wp-admin/post-new.php5.97 ▲0.0891.36 ▼16.42
Media Library /wp-admin/upload.php3.29 ▲0.0642.20 ▲6.53

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
db_upgraded
can_compress_scripts
widget_recent-posts
widget_theysaidso_widget
widget_recent-comments

Browser metrics Passed 4 tests

This is an overview of browser requirements for Instant Edit Everything
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,822 ▲7613.23 ▼1.241.88 ▼0.0344.99 ▲2.77
Dashboard /wp-admin2,203 ▲235.85 ▲0.1891.42 ▼5.2843.55 ▲0.48
Posts /wp-admin/edit.php2,108 ▲82.26 ▲0.2838.14 ▲2.8834.74 ▼2.38
Add New Post /wp-admin/post-new.php6,391 ▲4,86526.28 ▲2.65923.79 ▲236.8268.92 ▲11.47
Media Library /wp-admin/upload.php1,411 ▲114.44 ▲0.28107.27 ▲8.8248.09 ▲0.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
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not 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× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/instant-edit-everything/index.php:21

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration 87% from 29 tests

readme.txt 88% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
  • Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
  • Contributors: The plugin contributors field is not present
You can look at the official readme.txt

instant-edit-everything/index.php 85% from 13 tests

The main file in "Instant Edit Everything" v. 2.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
  • Description: Keep the plugin description shorter than 140 characters (currently 224 characters long)
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("instant-edit-everything.php" instead of "index.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected245 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP13518172
CSS217863
JavaScript23010

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.28
Average class complexity17.00
▷ Minimum class complexity17.00
▷ Maximum class complexity17.00
Average method complexity2.44
▷ Minimum method complexity1.00
▷ Maximum method complexity7.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods10
▷ Static methods00.00%
▷ Public methods10100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions00.00%
▷ Anonymous functions1100.00%
Constants6
▷ Global constants6100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin