Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.98ms] Passed 4 tests
A check of server-side resources used by Websitez.com
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.98 ▼1.94 |
Dashboard /wp-admin | 3.31 ▲0.00 | 43.83 ▼6.95 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.33 ▼1.43 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 83.04 ▼13.60 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.75 ▲2.54 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Websitez.com
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.55 ▼1.20 | 1.71 ▼0.00 | 40.74 ▼0.54 |
Dashboard /wp-admin | 2,203 ▲15 | 5.85 ▲0.96 | 95.08 ▼19.12 | 36.81 ▼11.36 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.99 ▼0.05 | 34.75 ▼0.33 | 34.54 ▲1.18 |
Add New Post /wp-admin/post-new.php | 1,528 ▼5 | 23.43 ▲0.15 | 640.17 ▼17.60 | 50.55 ▼8.88 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.19 ▼0.02 | 104.53 ▲8.32 | 47.36 ▲1.22 |
Uninstaller [IO: ▲0.04MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Incomplete uninstall procedure, leaving 3 files (0.04MB) in the plugin directory
- (new file) license.txt
- (new file) readme.txt
- (new file) websitez-com.php
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
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 a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots lack descriptions #1, #2, #3 in websitez-com/assets to your readme.txt
- Plugin Name: You should set the name of your plugin on the first line (
=== websitez-com ===
)
websitez-com/websitez-com.php Passed 13 tests
The primary PHP file in "Websitez.com" version 1.1 is used by WordPress to initiate all plugin functionality
84 characters long description:
Turn anonymous website traffic into leads and personalize your website for visitors.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected427 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 46 | 46 | 427 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 57.00 |
▷ Minimum class complexity | 57.00 |
▷ Maximum class complexity | 57.00 |
Average method complexity | 3.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 8 | 40.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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 were not PNG files found in your plugin