Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼2.46ms] Passed 4 tests
This is a short check of server-side resources used by Arevico Security Basic
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.85 ▲0.12 | 46.34 ▲2.58 |
Dashboard /wp-admin | 3.73 ▲0.17 | 51.26 ▼1.95 |
Posts /wp-admin/edit.php | 3.79 ▲0.11 | 50.07 ▼6.33 |
Add New Post /wp-admin/post-new.php | 6.25 ▲0.11 | 91.67 ▼3.24 |
Media Library /wp-admin/upload.php | 3.59 ▲0.11 | 37.99 ▲1.67 |
Arevico Security /wp-admin/options-general.php?page=arevico-security-top | 3.54 | 34.72 |
Server storage [IO: ▲0.11MB] [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: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Arevico Security Basic
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.29 ▼0.29 | 1.91 ▼0.39 | 42.09 ▼2.12 |
Dashboard /wp-admin | 2,199 ▲22 | 5.64 ▲0.01 | 89.05 ▼10.31 | 40.10 ▼2.03 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 2.00 ▼0.03 | 36.86 ▼0.57 | 33.14 ▼4.41 |
Add New Post /wp-admin/post-new.php | 1,548 ▲3 | 22.87 ▼0.33 | 651.58 ▼27.24 | 50.80 ▼5.10 |
Media Library /wp-admin/upload.php | 1,401 ▲4 | 4.23 ▼0.04 | 102.07 ▼2.46 | 46.25 ▼1.11 |
Arevico Security /wp-admin/options-general.php?page=arevico-security-top | 1,013 | 2.11 | 28.70 | 60.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=arevico-security-top
- > Notice in wp-content/plugins/arevico-security-basic/opt-security-admin.php+46
Undefined variable: link
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/arevico-security-basic/arevico-security.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Screenshots: Please add images for these screenshots: #1 (Authentication options), #2 (Lockout options)
arevico-security-basic/arevico-security.php 92% from 13 tests
The main file in "Arevico Security Basic" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("arevico-security-basic.php" instead of "arevico-security.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin794 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 163 | 139 | 509 |
CSS | 1 | 47 | 10 | 254 |
JavaScript | 1 | 8 | 2 | 31 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 33.33 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 54.00 |
Average method complexity | 3.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 46 | |
▷ Static methods | 17 | 36.96% |
▷ Public methods | 36 | 78.26% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 21.74% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
2 PNG files occupy 0.07MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 30.24KB | 18.18KB | ▼ 39.88% |
screenshot-2.png | 45.44KB | 21.20KB | ▼ 53.33% |