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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.10MB] [CPU: ▼5.83ms] Passed 4 tests
An overview of server-side resources used by PVN Auth Popup
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 39.63 ▲1.05 |
Dashboard /wp-admin | 3.41 ▲0.06 | 45.30 ▼16.68 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 45.20 ▲3.71 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 94.94 ▼6.35 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 35.18 ▼1.33 |
Server storage [IO: ▲0.80MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for PVN Auth Popup
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,935 ▲189 | 13.64 ▼0.95 | 10.50 ▲8.61 | 44.92 ▲0.45 |
Dashboard /wp-admin | 2,228 ▲40 | 5.90 ▲0.83 | 97.37 ▼18.84 | 73.97 ▲29.24 |
Posts /wp-admin/edit.php | 2,114 ▲25 | 2.04 ▼0.01 | 38.17 ▲0.63 | 33.74 ▲1.83 |
Add New Post /wp-admin/post-new.php | 1,685 ▲141 | 22.53 ▲4.31 | 709.76 ▲91.14 | 50.82 ▼6.87 |
Media Library /wp-admin/upload.php | 1,410 ▲19 | 4.26 ▲0.04 | 96.99 ▼5.07 | 78.93 ▲37.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 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 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/pvn-auth-popup/index.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Tags: Please delete some tags, you are using 20 tag instead of maximum 10
- Screenshots: Please add images for these screenshots: #1 (Login form.), #2 (Registration form.), #3 (Forgot password form.), #4 (All fields required.), #5 (Error form.), #6 (settings on WP Dashboard.), #7 (settings on WP Dashboard.)
pvn-auth-popup/index.php 92% from 13 tests
Analyzing the main PHP file in "PVN Auth Popup" version 1.0.0
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("pvn-auth-popup.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin2,277 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 158 | 128 | 1,166 |
PHP | 4 | 93 | 30 | 679 |
CSS | 2 | 12 | 0 | 256 |
HTML | 1 | 13 | 20 | 176 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 23.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 49.00 |
Average method complexity | 4.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 24 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
15 PNG files occupy 0.69MB with 0.35MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 121.31KB | 59.51KB | ▼ 50.94% |
assets/images/logo_128.png | 13.36KB | 4.82KB | ▼ 63.93% |
screenshot-5.png | 61.64KB | 18.64KB | ▼ 69.76% |
assets/images/pvnap_250.png | 25.45KB | 8.81KB | ▼ 65.39% |
assets/images/logo_16_old.png | 0.93KB | 0.90KB | ▼ 2.85% |