84% nousaccess

Code Review | Nous Access

WordPress plugin Nous Access scored84%from 54 tests.

About plugin

  • Plugin page: nousaccess
  • Plugin version: 1.0.0
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 6.1.1-6.1.1
  • WordPress version: 6.3.1
  • First release: Nov 29, 2022
  • Latest release: Nov 30, 2022
  • Number of updates: 8
  • Update frequency: every 0.1 days
  • Top authors: saifullahsiddique (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /455 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

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

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

An overview of server-side resources used by Nous Access
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0141.92 ▼4.71
Dashboard /wp-admin3.31 ▼0.0352.23 ▼13.04
Posts /wp-admin/edit.php3.36 ▲0.0153.70 ▲2.87
Add New Post /wp-admin/post-new.php5.89 ▲0.0185.02 ▼22.52
Media Library /wp-admin/upload.php3.23 ▲0.0139.36 ▲0.64

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
widget_theysaidso_widget
widget_recent-posts
db_upgraded
can_compress_scripts
theysaidso_admin_options

Browser metrics Passed 4 tests

Checking browser requirements for Nous Access
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,920 ▲13414.40 ▲0.053.65 ▲1.4249.49 ▲7.59
Dashboard /wp-admin2,195 ▲185.61 ▼0.0687.28 ▲1.2439.13 ▼4.13
Posts /wp-admin/edit.php2,097 ▼31.98 ▲0.0238.75 ▼0.9935.96 ▼3.30
Add New Post /wp-admin/post-new.php1,526 ▼223.22 ▲0.18677.81 ▼43.7553.07 ▼24.62
Media Library /wp-admin/upload.php1,403 ▼04.18 ▼0.0695.12 ▼11.5243.20 ▼3.98

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments

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
The smoke test was a success, however most plugin functionality was not tested

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
Please fix the following items
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/nousaccess/template/accessibility.php:9

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: wordpress accessibility, wp-accessibility, accessibility, nousaccess

nousaccess/nousaccess.php Passed 13 tests

Analyzing the main PHP file in "Nous Access" version 1.0.0
51 characters long description:
Helps improve accessibility in your WordPress site.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin15,910 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
CSS33,2845415,725
PHP3123595
JavaScript1201590

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.09
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%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected