Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼142.42ms] Passed 4 tests
Server-side resources used by Frumentarii Security Malware Scanner and Anti Virus
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 35.64 ▲8.10 |
Dashboard /wp-admin | 3.06 ▲0.01 | 51.01 ▲2.12 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 46.81 ▲1.03 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.02 | 91.57 ▼575.09 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 35.94 ▲2.28 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Frumentarii Security Malware Scanner and Anti Virus
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,685 ▲113 | 15.86 ▲0.33 | 7.62 ▼0.19 | 51.60 ▼0.68 |
Dashboard /wp-admin | 2,995 ▲58 | 6.09 ▲0.01 | 133.42 ▼20.19 | 116.58 ▼15.01 |
Posts /wp-admin/edit.php | 2,745 ▲9 | 2.82 ▼0.00 | 66.50 ▼6.54 | 89.13 ▼2.02 |
Add New Post /wp-admin/post-new.php | 1,502 ▼181 | 18.90 ▲0.16 | 375.99 ▼20.95 | 107.23 ▼10.21 |
Media Library /wp-admin/upload.php | 1,813 ▲6 | 5.02 ▼0.04 | 153.57 ▼17.92 | 121.17 ▼9.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests Passed 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)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
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 just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Tags: There are too many tags (19 tag instead of maximum 10)
frumentarii/frumentarii.php Passed 13 tests
Analyzing the main PHP file in "Frumentarii Security Malware Scanner and Anti Virus" version 1.3
29 characters long description:
Anti Malware for your website
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
Good job! No executable or dangerous file extensions detected16 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 5 | 8 | 16 |
PHP code Passed 2 tests
A short 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.33 |
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 | 1 | |
▷ Named functions | 1 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icon.png | 1.25KB | 1.08KB | ▼ 13.93% |
logo.png | 16.45KB | 8.38KB | ▼ 49.07% |
banner.png | 24.17KB | 12.03KB | ▼ 50.25% |