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.06MB] [CPU: ▼4.46ms] Passed 4 tests
This is a short check of server-side resources used by Pz-Talk
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 41.24 ▼1.26 |
Dashboard /wp-admin | 3.38 ▲0.08 | 52.17 ▼4.37 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 57.66 ▲8.34 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 85.39 ▼12.14 |
Media Library /wp-admin/upload.php | 3.29 ▲0.05 | 36.91 ▼0.06 |
Pz Talk /wp-admin/options-general.php?page=pz-talk-settings | 3.37 | 35.99 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Pz-Talk
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,010 ▲249 | 14.90 ▲0.67 | 1.78 ▲0.05 | 52.94 ▲14.08 |
Dashboard /wp-admin | 2,408 ▲231 | 6.15 ▲0.45 | 121.84 ▲32.36 | 37.34 ▼0.41 |
Posts /wp-admin/edit.php | 2,342 ▲242 | 3.47 ▲1.43 | 53.35 ▲16.11 | 34.91 ▼3.57 |
Add New Post /wp-admin/post-new.php | 1,607 ▲76 | 23.49 ▲0.17 | 660.61 ▲7.25 | 34.99 ▼26.45 |
Media Library /wp-admin/upload.php | 1,477 ▲80 | 4.27 ▲0.05 | 85.92 ▼22.73 | 45.30 ▼0.70 |
Pz Talk /wp-admin/options-general.php?page=pz-talk-settings | 1,384 | 3.01 | 42.54 | 34.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=pz-talk-settings
- > Notice in wp-content/plugins/pz-talk/lib/pz-talk-settings.php+134
Undefined index: url-0
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/pz-talk/pz-talk.php:35
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- > GET request to /wp-admin/options-general.php?page=pz-talk-settings
- > Javascript (severe) in unknown
/wp-content/plugins/pz-talk/js/admin.js?ver=6.3.1 0:0 Uncaught TypeError: $ is not a function
Optimizations
Plugin configuration Passed 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
2 plugin tags: html, text
pz-talk/pz-talk.php Passed 13 tests
The primary PHP file in "Pz-Talk" version 1.1.2 is used by WordPress to initiate all plugin functionality
78 characters long description:
顔アイコンと吹き出しを表示させて会話を表現できます。
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected1,030 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 49 | 33 | 437 |
CSS | 2 | 6 | 0 | 246 |
JavaScript | 5 | 21 | 18 | 240 |
PO File | 1 | 334 | 662 | 107 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 40.00 |
▷ Minimum class complexity | 40.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.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 | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
js/button.png | 0.27KB | 0.15KB | ▼ 44.32% |
img/unknown.png | 1.44KB | 0.71KB | ▼ 50.68% |
img/unknown2.png | 0.42KB | 0.23KB | ▼ 45.27% |
img/button.png | 0.27KB | 0.15KB | ▼ 44.32% |