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: ▼308.95ms] Passed 4 tests
This is a short check of server-side resources used by Access Monitor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.88 ▲0.37 | 58.65 ▲8.29 |
Dashboard /wp-admin | 3.62 ▲0.22 | 27.04 ▼7.02 |
Posts /wp-admin/edit.php | 3.74 ▲0.10 | 27.72 ▼7.83 |
Add New Post /wp-admin/post-new.php | 6.33 ▼0.64 | 76.44 ▼1,213.00 |
Media Library /wp-admin/upload.php | 3.63 ▲0.33 | 24.45 ▼7.96 |
Accessibility Reports /wp-admin/edit.php?post_type=tenon-report | 3.71 | 27.00 |
Add New Report /wp-admin/edit.php?post_type=tenon-report&page=am-report-page | 3.61 | 27.21 |
Report Tags /wp-admin/edit-tags.php?taxonomy=tenon-report-tag&post_type=tenon-report | 3.62 | 24.72 |
Access Monitor Settings /wp-admin/edit.php?post_type=tenon-report&page=am-support-page | 3.61 | 24.85 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 18 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Access Monitor
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,874 ▲132 | 16.27 ▲0.93 | 6.50 ▲0.37 | 2.88 ▲0.56 |
Dashboard /wp-admin | 2,969 ▲111 | 6.23 ▼0.07 | 118.90 ▼18.88 | 155.06 ▼7.99 |
Posts /wp-admin/edit.php | 2,768 ▲74 | 3.29 ▼0.08 | 66.07 ▲2.36 | 144.63 ▲1.16 |
Add New Post /wp-admin/post-new.php | 1,739 ▼21 | 21.77 ▼0.51 | 434.80 ▲11.32 | 166.71 ▲9.73 |
Media Library /wp-admin/upload.php | 1,776 ▲78 | 5.63 ▲0.09 | 127.81 ▼19.67 | 179.71 ▼15.08 |
Accessibility Reports /wp-admin/edit.php?post_type=tenon-report | 1,477 | 3.20 | 63.98 | 115.16 |
Add New Report /wp-admin/edit.php?post_type=tenon-report&page=am-report-page | 1,875 | 4.08 | 105.80 | 214.41 |
Report Tags /wp-admin/edit-tags.php?taxonomy=tenon-report-tag&post_type=tenon-report | 1,701 | 3.29 | 58.62 | 113.42 |
Access Monitor Settings /wp-admin/edit.php?post_type=tenon-report&page=am-support-page | 1,618 | 3.86 | 103.76 | 183.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=tenon-report&page=am-support-page
- > Notice in wp-content/plugins/access-monitor/access-monitor.php+457
Trying to access array offset on value of type bool
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=tenon-report&page=am-report-page
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: section508, wcag, a11y, tenon, accessibility
access-monitor/access-monitor.php 85% from 13 tests
The principal PHP file in "Access Monitor" v. 1.4.2 is loaded by WordPress automatically on each request
You should first fix the following items:
- Domain Path: The domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("lang")
- Domain Path: The domain path must begin with a forward slash character ("/lang")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin2,692 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 151 | 415 | 1,791 |
JavaScript | 5 | 66 | 18 | 502 |
CSS | 2 | 75 | 0 | 380 |
JSON | 1 | 0 | 0 | 19 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 61 | |
▷ Named functions | 61 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/tenon-logo-no-border-light.png | 3.89KB | 2.41KB | ▼ 38.10% |