Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.43ms] Passed 4 tests
A check of server-side resources used by Heckler
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.86 ▲1.15 |
Dashboard /wp-admin | 3.33 ▲0.03 | 43.05 ▼7.65 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.28 ▲2.27 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 81.30 ▼16.13 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.56 ▲0.93 |
Heckler /wp-admin/edit.php?post_type=heckler | 3.29 | 33.63 |
Add New /wp-admin/post-new.php?post_type=heckler | 3.38 | 49.39 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Heckler
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲59 | 13.25 ▼1.12 | 1.69 ▼0.49 | 38.67 ▼6.40 |
Dashboard /wp-admin | 2,236 ▲48 | 5.90 ▲1.02 | 95.85 ▼10.31 | 42.48 ▲1.22 |
Posts /wp-admin/edit.php | 2,116 ▲24 | 2.01 ▼0.01 | 38.79 ▲2.92 | 34.37 ▲0.42 |
Add New Post /wp-admin/post-new.php | 1,556 ▲39 | 23.34 ▲5.79 | 637.09 ▼20.77 | 60.93 ▲7.32 |
Media Library /wp-admin/upload.php | 1,418 ▲30 | 4.18 ▲0.05 | 97.15 ▼0.85 | 46.58 ▲5.36 |
Heckler /wp-admin/edit.php?post_type=heckler | 1,124 | 3.53 | 69.51 | 31.40 |
Add New /wp-admin/post-new.php?post_type=heckler | 2,760 | 9.10 | 238.95 | 83.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- > GET request to /wp-admin/edit.php?post_type=heckler
- > Javascript (severe) in unknown
/wp-content/plugins/heckler/jsc/heckler.js?ver=6.3.1 3:18 Uncaught TypeError: Cannot read properties of null (reading 'getElementsByTagName')
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: shortcode, code, hook, block
heckler/heckler.php 85% from 13 tests
Analyzing the main PHP file in "Heckler" version 0.0.2
You should first fix the following items:
- Domain Path: The domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("lng")
- Domain Path: The domain path must begin with a forward slash character ("/lng")
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
There were no executable files found in this plugin1,048 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 215 | 22 | 746 |
CSS | 1 | 51 | 2 | 216 |
JavaScript | 1 | 23 | 0 | 86 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 2 | |
▷ Static methods | 2 | 100.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 39 | |
▷ Named functions | 36 | 92.31% |
▷ Anonymous functions | 3 | 7.69% |
Constants | 6 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 6 | 100.00% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected