Benchmarks
Plugin footprint 83% from 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.01MB] [CPU: ▼6.83ms] Passed 4 tests
A check of server-side resources used by AccessWise - Power to restrict your website and it's content via Age Gate, Force Login, Disable Right click
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.03 ▼2.98 |
Dashboard /wp-admin | 3.32 ▲0.01 | 45.35 ▼4.48 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 41.60 ▼5.44 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 82.70 ▼14.40 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.84 ▲4.06 |
Force Login /wp-admin/admin.php?page=accesswise-force-login | 3.21 | 31.74 |
Disable Right Click /wp-admin/admin.php?page=accesswise-disable-right-click | 3.21 | 31.28 |
Age Gate /wp-admin/admin.php?page=engramium-accesswise-settings | 3.23 | 32.87 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by AccessWise - Power to restrict your website and it's content via Age Gate, Force Login, Disable Right click
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,856 ▲110 | 13.70 ▼0.62 | 1.86 ▲0.08 | 40.00 ▼3.78 |
Dashboard /wp-admin | 2,237 ▲52 | 5.87 ▲0.97 | 111.48 ▼8.30 | 40.34 ▼3.61 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.00 ▼0.02 | 33.99 ▼4.58 | 34.73 ▼2.55 |
Add New Post /wp-admin/post-new.php | 1,539 ▲4 | 17.46 ▼5.49 | 654.70 ▲10.33 | 52.00 ▲5.33 |
Media Library /wp-admin/upload.php | 1,422 ▲34 | 4.25 ▲0.01 | 96.06 ▼11.60 | 43.61 ▲0.01 |
Force Login /wp-admin/admin.php?page=accesswise-force-login | 827 | 2.07 | 25.96 | 24.83 |
Disable Right Click /wp-admin/admin.php?page=accesswise-disable-right-click | 876 | 1.70 | 23.90 | 26.69 |
Age Gate /wp-admin/admin.php?page=engramium-accesswise-settings | 1,154 | 3.04 | 44.14 | 37.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/accesswise/accesswise_options.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/accesswise/accesswise_options.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/accesswise/accesswise_force_login.php:69
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: registered only, copy protection, disable right click, age verification, force login
accesswise/accesswise.php 92% from 13 tests
Analyzing the main PHP file in "AccessWise - Power to restrict your website and it's content via Age Gate, Force Login, Disable Right click" version 0.2
It is important to fix the following:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected470 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 89 | 64 | 430 |
CSS | 1 | 2 | 0 | 25 |
JavaScript | 1 | 4 | 0 | 15 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
No PNG images were found in this plugin