Benchmarks
Plugin footprint Passed 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.02MB] [CPU: ▼140.36ms] Passed 4 tests
This is a short check of server-side resources used by CyStack Security - Vulnerability Scanner & Security Monitoring
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.02 | 43.48 ▲4.89 |
Dashboard /wp-admin | 3.08 ▲0.03 | 56.12 ▲6.09 |
Posts /wp-admin/edit.php | 3.13 ▲0.03 | 44.98 ▼5.54 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 96.85 ▼566.89 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 43.48 ▲8.49 |
Server storage [IO: ▲1.45MB] [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: 57 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for CyStack Security - Vulnerability Scanner & Security Monitoring
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,834 ▲262 | 15.84 ▼0.07 | 7.71 ▼1.64 | 53.23 ▼0.99 |
Dashboard /wp-admin | 3,095 ▲164 | 5.90 ▼0.08 | 140.58 ▼14.96 | 135.40 ▲19.00 |
Posts /wp-admin/edit.php | 2,886 ▲147 | 2.68 ▼0.15 | 64.42 ▼7.05 | 91.18 ▼7.83 |
Add New Post /wp-admin/post-new.php | 3,871 ▲2,188 | 20.30 ▲1.50 | 537.35 ▲151.71 | 147.48 ▲37.75 |
Media Library /wp-admin/upload.php | 1,883 ▲76 | 5.00 ▼0.02 | 151.25 ▼2.69 | 180.52 ▲46.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: There are too many tags (13 tag instead of maximum 10)
cystack-security/cystack-security.php 92% from 13 tests
The main file in "CyStack Security - Vulnerability Scanner & Security Monitoring" v. 1.0.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
Success! There were no dangerous files found in this plugin8,163 lines of code in 43 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 4 | 0 | 0 | 6,984 |
PHP | 24 | 147 | 338 | 723 |
JavaScript | 10 | 25 | 5 | 243 |
PO File | 2 | 40 | 46 | 117 |
SVG | 1 | 0 | 0 | 60 |
CSS | 2 | 0 | 0 | 36 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 4.61 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 18 | 100.00% |
▷ Final classes | 1 | 5.56% |
Methods | 56 | |
▷ Static methods | 21 | 37.50% |
▷ Public methods | 52 | 92.86% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 7.14% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.00% |
Constants | 16 | |
▷ Global constants | 6 | 37.50% |
▷ Class constants | 10 | 62.50% |
▷ Public constants | 10 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
8 PNG files occupy 1.09MB with 0.77MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-3.png | 139.09KB | 39.04KB | ▼ 71.93% |
assets/screenshot-4.png | 141.13KB | 37.69KB | ▼ 73.30% |
assets/screenshot-1.png | 128.07KB | 38.00KB | ▼ 70.33% |
assets/screenshot-5.png | 163.92KB | 52.61KB | ▼ 67.90% |
assets/screenshot-6.png | 136.64KB | 39.59KB | ▼ 71.02% |