89% easyinstall

Code Review | EasyInstall

WordPress plugin EasyInstall scored 89% from 53 tests.

About plugin

  • Plugin page: easyinstall
  • Plugin version: 0.1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.2-3.3
  • WordPress version: 5.8.1
  • First release: Nov 6, 2011
  • Latest release: Jan 5, 2012
  • Number of updates: 4
  • Update frequency: every 15.0 days
  • Top authors: ejner69 (100%)

Code review

53 tests

User reviews

1 review

Install metrics

10+ active / 1,043 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices

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

Analyzing server-side resources used by EasyInstall
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.1234.60 ▲13.09
Dashboard /wp-admin3.06 ▲0.0153.01 ▲7.77
Posts /wp-admin/edit.php3.11 ▲0.0140.51 ▼1.33
Add New Post /wp-admin/post-new.php5.42 ▼0.0094.33 ▼1,046.06
Media Library /wp-admin/upload.php3.00 ▼0.0032.43 ▼10.96
EasyInstall /wp-admin/tools.php?page=easyinstall2.9521.14

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for EasyInstall
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,707 ▲10115.84 ▲0.357.41 ▼0.9646.26 ▼6.57
Dashboard /wp-admin2,964 ▲1145.94 ▲0.09136.22 ▼18.07105.44 ▲5.09
Posts /wp-admin/edit.php2,711 ▲82.69 ▲0.0064.13 ▼4.6098.97 ▲3.24
Add New Post /wp-admin/post-new.php1,856 ▲20318.93 ▲0.19360.67 ▲14.80112.64 ▲8.04
Media Library /wp-admin/upload.php1,774 ▲25.04 ▲0.03144.77 ▼8.08119.15 ▼4.37
EasyInstall /wp-admin/tools.php?page=easyinstall1,0212.0954.0369.61

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstaller ran successfully

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
    • > GET request to /wp-admin/tools.php?page=easyinstall
    • > User deprecated in wp-includes/functions.php+5221
    screen_icon is deprecated since version 3.8.0 with no alternative available.
    • > GET request to /wp-admin/tools.php?page=easyinstall
    • > User deprecated in wp-includes/functions.php+5221
    get_screen_icon is deprecated since version 3.8.0 with no alternative available.

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/easyinstall/easyinstall.php:11

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 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
5 plugin tags: install plugins, plugins, themes, admin, install themes

easyinstall/easyinstall.php Passed 13 tests

The entry point to "EasyInstall" version 0.1.1 is a PHP file that has certain tags in its header comment area
84 characters long description:
Install plugins and themes from WordPress Extend without enter to dashboard. ¡Easy!

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
Everything looks great! No dangerous files found in this plugin89 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP17889

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.29
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%
Functions6
▷ Named functions6100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 1 test

Image compression Passed 1 test

Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin