Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼144.94ms] Passed 4 tests
Analyzing server-side resources used by Face recognition WP
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.14 | 39.11 ▲14.82 |
Dashboard /wp-admin | 3.07 ▲0.02 | 48.49 ▲2.06 |
Posts /wp-admin/edit.php | 3.13 ▲0.02 | 39.49 ▼5.78 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.00 | 88.92 ▼575.44 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 33.68 ▼0.59 |
Server storage [IO: ▲0.53MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Face recognition WP
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,725 ▲129 | 16.52 ▲0.62 | 15.01 ▲5.32 | 47.46 ▼3.05 |
Dashboard /wp-admin | 2,998 ▲64 | 6.03 ▲0.09 | 150.43 ▼5.40 | 116.97 ▼10.67 |
Posts /wp-admin/edit.php | 2,782 ▲43 | 2.74 ▲0.05 | 77.31 ▲8.75 | 89.82 ▼9.36 |
Add New Post /wp-admin/post-new.php | 1,704 ▲204 | 18.57 ▼0.08 | 376.09 ▼8.89 | 113.56 ▼7.97 |
Media Library /wp-admin/upload.php | 1,838 ▲31 | 5.15 ▲0.14 | 155.64 ▼5.46 | 123.19 ▼1.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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
No output text or server-side errors detected 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
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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
Attributes that require attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Loaded profile photos), #2 (Founded profiles on the group photo), #3 (You can have several loaded profiles)
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== face-recognition-wp ===
)
face-recognition-wp/face-recognition-wp.php Passed 13 tests
The primary PHP file in "Face recognition WP" version 1.0 is used by WordPress to initiate all plugin functionality
35 characters long description:
Identify profiles on a group photo
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 plugin387 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 24 | 20 | 165 |
PHP | 1 | 56 | 9 | 118 |
JavaScript | 2 | 71 | 46 | 104 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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 | 4 | |
▷ Named functions | 4 | 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
4 PNG files occupy 0.27MB with 0.16MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-2.png | 180.02KB | 93.28KB | ▼ 48.19% |
assets/image-placeholder.png | 4.83KB | 2.09KB | ▼ 56.72% |
assets/screenshot-1.png | 45.47KB | 15.43KB | ▼ 66.06% |
assets/screenshot-3.png | 51.19KB | 17.47KB | ▼ 65.87% |