94% influid-admin

Code Review | Influid Admin

WordPress plugin Influid Admin scored 94% from 54 tests.

About plugin

  • Plugin page: influid-admin
  • Plugin version: 0.1
  • PHP compatiblity: 5.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-4.8.2
  • WordPress version: 5.8.1
  • First release: Oct 9, 2017
  • Latest release: Oct 9, 2017
  • Number of updates: 2
  • Update frequency: every 0.5 days
  • Top authors: andredaniel (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 400 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

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

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

Analyzing server-side resources used by Influid Admin
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.1236.28 ▲14.67
Dashboard /wp-admin3.06 ▲0.0148.00 ▲1.97
Posts /wp-admin/edit.php3.12 ▲0.0144.05 ▼0.58
Add New Post /wp-admin/post-new.php5.42 ▼0.0189.73 ▼579.39
Media Library /wp-admin/upload.php3.01 ▲0.0131.84 ▲0.14

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Influid Admin
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,797 ▲20115.89 ▲0.3511.78 ▲1.4947.44 ▼4.00
Dashboard /wp-admin3,021 ▲905.95 ▲0.01140.73 ▼3.17107.93 ▼0.13
Posts /wp-admin/edit.php2,820 ▲812.70 ▼0.0178.75 ▲14.4189.51 ▼4.25
Add New Post /wp-admin/post-new.php1,877 ▲20519.05 ▲0.19384.12 ▼15.66110.58 ▲2.35
Media Library /wp-admin/upload.php1,882 ▲755.05 ▲0.01122.83 ▼37.87118.37 ▼3.72

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled completely, with no zombie files or tables

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 everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/influid-admin/influid-admin.php:15

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
  • Donate link: Invalid URI found ("")
The official readme.txt is a good inspiration

influid-admin/influid-admin.php Passed 13 tests

This is the main PHP file of "Influid Admin" version 0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
23 characters long description:
Influid Wordpress Admin

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
No dangerous file extensions were detected413 lines of code in 12 files:
LanguageFilesBlank linesComment linesLines of code
CSS11617399
PHP161114

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
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%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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 files were detected