Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.08ms] Passed 4 tests
Analyzing server-side resources used by Evidence - Social Proof & FOMO Notifications
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 36.88 ▼3.36 |
Dashboard /wp-admin | 3.32 ▲0.01 | 46.37 ▼3.20 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.19 ▼1.89 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 93.76 ▼3.87 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.95 ▼0.33 |
Evidence /wp-admin/options-general.php?page=evidence_plugin | 3.27 | 36.27 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 9 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
ev_protected_pages |
evidence_script |
widget_theysaidso_widget |
ev_allowed_devices |
Browser metrics Passed 4 tests
An overview of browser requirements for Evidence - Social Proof & FOMO Notifications
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.26 ▼1.11 | 1.76 ▲0.01 | 42.05 ▼1.34 |
Dashboard /wp-admin | 2,210 ▲22 | 5.88 ▲0.99 | 96.69 ▼8.45 | 39.05 ▼9.08 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 1.97 ▲0.00 | 38.85 ▼1.74 | 33.23 ▼5.33 |
Add New Post /wp-admin/post-new.php | 1,539 ▲5 | 23.15 ▲0.08 | 639.88 ▼39.33 | 58.78 ▼1.23 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.21 ▼0.03 | 102.38 ▲7.41 | 43.56 ▼0.47 |
Evidence /wp-admin/options-general.php?page=evidence_plugin | 877 | 2.02 | 23.50 | 29.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
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)
Everything seems fine, however this is by no means 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
Please take a closer look at the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/evidence/templates/admin.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/evidence/trunk/templates/admin.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 86% 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:
- Screenshots: These screenshots lack descriptions #1, #2, #3 in evidence/assets to your readme.txt
evidence/evidence-plugin.php 77% from 13 tests
This is the main PHP file of "Evidence - Social Proof & FOMO Notifications" version 1.0.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Text Domain: Please use dashes and lowercase characters for text domains
- Main file name: The principal plugin file should be the same as the plugin slug ("evidence.php" instead of "evidence-plugin.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 208 characters long)
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
Success! There were no dangerous files found in this plugin260 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 86 | 122 | 260 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 2.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 6 | 27.27% |
▷ Public methods | 22 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin