84% insiderdata360-code

Code Review | InsiderData360 Express Installer

WordPress plugin InsiderData360 Express Installer scored84%from 54 tests.

About plugin

  • Plugin page: insiderdata360-code
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Jul 3, 2019
  • Latest release: Jul 3, 2019
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: insiderdata360 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /628 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully

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

An overview of server-side resources used by InsiderData360 Express Installer
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0038.97 ▼7.07
Dashboard /wp-admin3.31 ▲0.0049.36 ▼3.96
Posts /wp-admin/edit.php3.36 ▲0.0046.40 ▼6.19
Add New Post /wp-admin/post-new.php5.89 ▲0.0089.96 ▼13.38
Media Library /wp-admin/upload.php3.23 ▲0.0037.38 ▼1.71

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-comments
widget_recent-posts
widget_theysaidso_widget
db_upgraded
theysaidso_admin_options

Browser metrics Passed 4 tests

InsiderData360 Express Installer: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,838 ▲7714.22 ▼0.073.92 ▲2.1846.57 ▼0.90
Dashboard /wp-admin2,200 ▲235.79 ▲0.1690.39 ▼3.0940.23 ▼5.51
Posts /wp-admin/edit.php2,114 ▲142.03 ▲0.0041.51 ▲2.8338.40 ▼1.96
Add New Post /wp-admin/post-new.php1,437 ▼8921.81 ▼1.75558.79 ▼136.8631.86 ▼14.07
Media Library /wp-admin/upload.php1,408 ▲114.17 ▼0.00116.42 ▲11.2843.40 ▼6.30

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_theysaidso_widget
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • theysaidso_admin_options

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)
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
  • 1× PHP files output text when accessed directly:
    • > /wp-content/plugins/insiderdata360-code/InsiderData360ExpessInstaller.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
No plugin tags provided

insiderdata360-code/InsiderData360ExpessInstaller.php 85% from 13 tests

The principal PHP file in "InsiderData360 Express Installer" v. 1.0.0 is loaded by WordPress automatically on each request
It is important to fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 183 characters long)
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("insiderdata360-code.php" instead of "InsiderData360ExpessInstaller.php")

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
There were no executable files found in this plugin17 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP121117

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.00
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%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
PNG images were not found in this plugin