93% accessido

Code Review | accessi.do

WordPress plugin accessi.do scored 93% from 54 tests.

About plugin

  • Plugin page: accessido
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-3.5.1
  • WordPress version: 5.8.1
  • First release: Mar 17, 2016
  • Latest release: Mar 21, 2016
  • Number of updates: 7
  • Update frequency: every 2.4 days
  • Top authors: mbaroz (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 607 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully

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

Server-side resources used by accessi.do
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.1236.03 ▲15.24
Dashboard /wp-admin3.07 ▲0.0143.12 ▼5.86
Posts /wp-admin/edit.php3.12 ▲0.0143.78 ▲0.94
Add New Post /wp-admin/post-new.php5.42 ▼0.0191.04 ▼564.84
Media Library /wp-admin/upload.php3.01 ▲0.0132.87 ▲1.65

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

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

Browser metrics Passed 4 tests

Checking browser requirements for accessi.do
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,703 ▲10715.99 ▲0.309.20 ▼4.0150.79 ▲2.44
Dashboard /wp-admin3,012 ▲785.99 ▲0.03153.49 ▲3.48113.97 ▲6.04
Posts /wp-admin/edit.php2,759 ▲202.85 ▲0.1374.11 ▲1.6084.75 ▼4.01
Add New Post /wp-admin/post-new.php1,628 ▼5521.53 ▲2.86296.60 ▼98.4898.92 ▼11.96
Media Library /wp-admin/upload.php1,830 ▲235.04 ▲0.01157.04 ▼10.08111.17 ▼9.89

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

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

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means 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× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/accessido/index.php:15

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration 86% from 29 tests

readme.txt 81% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
  • License uri: Invalid URI ("")
  • Donate link: Invalid URI ("")
  • Screenshots: Screenshot #5 (screenshot-5.jpg) image missing
You can take inspiration from this readme.txt

accessido/index.php 92% from 13 tests

The main file in "accessi.do" v. 1.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:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("accessido.php" instead of "index.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected26 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP111726

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
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

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