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
Install script ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼2.41ms] Passed 4 tests
This is a short check of server-side resources used by WebMaxy
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 41.12 ▲0.27 |
Dashboard /wp-admin | 3.38 ▲0.08 | 47.27 ▼3.61 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 49.32 ▼0.57 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 90.35 ▼4.81 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 38.48 ▼0.65 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for WebMaxy
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,913 ▲152 | 13.80 ▼0.90 | 8.58 ▲6.91 | 41.19 ▲1.51 |
Dashboard /wp-admin | 2,211 ▲31 | 5.55 ▼0.11 | 84.14 ▼2.33 | 38.58 ▼3.00 |
Posts /wp-admin/edit.php | 2,113 ▲13 | 2.03 ▲0.01 | 35.97 ▼0.14 | 35.12 ▼0.06 |
Add New Post /wp-admin/post-new.php | 1,540 ▲5 | 23.27 ▲5.10 | 652.73 ▼22.83 | 60.54 ▼10.11 |
Media Library /wp-admin/upload.php | 1,416 ▲16 | 4.21 ▼0.02 | 107.51 ▲0.25 | 44.95 ▼0.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% 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 no errors were found, this is by no means an exhaustive test
SRP 0% 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 fix the following
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/webmaxy/admin/partials/webmaxy-admin-display.php
- > /wp-content/plugins/webmaxy/public/partials/webmaxy-public-display.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/webmaxy/admin/partials/webmaxy-admin-settings-display.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% 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 need to be fixed:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== webmaxy ===
) - Screenshots: Add images for these screenshots: #1 (This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from), #2 (This is the second screen shot)
- Contributors: The plugin contributors field is missing
webmaxy/webmaxy.php Passed 13 tests
The principal PHP file in "WebMaxy" v. 1.0.0 is loaded by WordPress automatically on each request
103 characters long description:
WebMaxy Wordpress plugins allows you to integrate WebMaxy Session Recording in your website seemlessly.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected324 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 129 | 551 | 309 |
Markdown | 1 | 5 | 0 | 9 |
JavaScript | 2 | 4 | 54 | 6 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 3.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 1.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 3 | 9.38% |
▷ Public methods | 26 | 81.25% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 18.75% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
No PNG files were detected