Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼0.43ms] Passed 4 tests
An overview of server-side resources used by Samohyb GoodAccess
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.29 ▲1.03 |
Dashboard /wp-admin | 3.31 ▲0.01 | 47.81 ▼2.20 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 49.82 ▼1.97 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 104.51 ▲5.04 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 36.53 ▲1.42 |
Samohyb GoodAccess /wp-admin/options-general.php?page=samohyb-goodaccess-options | 3.20 | 31.09 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Samohyb GoodAccess
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 14.74 ▲0.15 | 1.81 ▲0.16 | 44.22 ▼4.23 |
Dashboard /wp-admin | 2,207 ▲19 | 5.84 ▼0.06 | 97.79 ▼5.90 | 43.03 ▼0.14 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▲0.05 | 38.84 ▼6.37 | 35.41 ▼4.24 |
Add New Post /wp-admin/post-new.php | 1,517 ▼11 | 17.65 ▼0.66 | 594.56 ▼7.08 | 50.25 ▼0.18 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.18 ▼0.03 | 94.64 ▼3.56 | 39.74 ▼3.59 |
Samohyb GoodAccess /wp-admin/options-general.php?page=samohyb-goodaccess-options | 899 | 2.04 | 25.54 | 29.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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 take a closer look at the following
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/samohyb-goodaccess/samohyb-goodaccess.php
- > /wp-content/plugins/samohyb-goodaccess/uninstall.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
6 plugin tags: security, goodaccess, protection, access, good...
samohyb-goodaccess/samohyb-goodaccess.php Passed 13 tests
The primary PHP file in "Samohyb GoodAccess" version 1.0 is used by WordPress to initiate all plugin functionality
138 characters long description:
This plugin hides your WordPress administration side of the public internet but makes it accessible from any location with GoodAccess App.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin322 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 55 | 15 | 258 |
CSS | 1 | 16 | 0 | 64 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 16.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 3.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 53.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 46.67% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 9 | 100.00% |
▷ Public constants | 9 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.08MB with 0.05MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
samohyb_logo_square.png | 77.51KB | 25.01KB | ▼ 67.73% |