Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.88ms] Passed 4 tests
A check of server-side resources used by Chess Tempo Viewer
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.12 ▼0.22 |
Dashboard /wp-admin | 3.32 ▲0.02 | 48.60 ▼8.47 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 46.97 ▼6.76 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 93.19 ▼10.01 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 35.21 ▼2.27 |
Chess Tempo Viewer /wp-admin/options-general.php?page=chesstempoviewer/chess-tempo-viewer.php | 3.21 | 29.61 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Chess Tempo Viewer
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,921 ▲175 | 14.19 ▼0.04 | 15.42 ▲13.72 | 35.44 ▼4.30 |
Dashboard /wp-admin | 2,202 ▲22 | 5.63 ▼0.02 | 91.77 ▲4.87 | 42.11 ▲0.08 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 1.96 ▼0.02 | 40.25 ▲4.05 | 36.81 ▼1.94 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.34 ▲0.27 | 604.79 ▼16.06 | 55.74 ▲1.41 |
Media Library /wp-admin/upload.php | 1,401 ▲4 | 4.15 ▼0.02 | 93.77 ▼12.73 | 43.67 ▼5.10 |
Chess Tempo Viewer /wp-admin/options-general.php?page=chesstempoviewer/chess-tempo-viewer.php | 763 | 2.16 | 24.45 | 24.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/chesstempoviewer/chess-tempo-viewer.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: These screenshots require images: #1 (Board from a special position, with most parameter (pieceSet, pieceSize) with default values.), #2 (Tiny board from the start position.), #3 (Layout variation with parameter layout)
- Donate link: Invalid URI ("")
- Plugin Name: You should set the name of your plugin on the first line (
=== chesstempoviewer ===
)
chesstempoviewer/chess-tempo-viewer.php 92% from 13 tests
The principal PHP file in "Chess Tempo Viewer" v. 0.9.5 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("chesstempoviewer.php" instead of "chess-tempo-viewer.php")
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 detected121 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 10 | 21 | 82 |
CSS | 1 | 4 | 0 | 39 |
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.12 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 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
3 PNG files occupy 0.13MB with 0.07MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 46.94KB | 20.35KB | ▼ 56.64% |
screenshot-2.png | 35.66KB | 15.63KB | ▼ 56.17% |
screenshot-1.png | 48.02KB | 19.34KB | ▼ 59.73% |