Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼8.61ms] Passed 4 tests
A check of server-side resources used by WP Sudoku Plus
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.09 | 43.39 ▼1.57 |
Dashboard /wp-admin | 3.43 ▲0.05 | 48.51 ▼14.89 |
Posts /wp-admin/edit.php | 3.48 ▲0.09 | 49.44 ▼1.54 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.09 | 88.58 ▼16.44 |
Media Library /wp-admin/upload.php | 3.35 ▲0.08 | 36.90 ▲0.06 |
Server storage [IO: ▲19.50MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_wp_sudoku |
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Sudoku Plus
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,870 ▲109 | 13.35 ▼0.84 | 9.49 ▲7.72 | 44.99 ▲5.24 |
Dashboard /wp-admin | 2,198 ▲21 | 5.61 ▼0.01 | 88.29 ▲0.26 | 40.44 ▼1.43 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.99 ▼0.00 | 33.67 ▼4.64 | 36.69 ▲0.67 |
Add New Post /wp-admin/post-new.php | 1,526 ▼12 | 23.15 ▲0.22 | 676.63 ▼13.85 | 60.57 ▲8.37 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.20 ▲0.03 | 96.70 ▼21.74 | 42.94 ▼5.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie tables were found after uninstall: 1 table
- wp_wp_sudoku
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/wp-sudoku-plus/wp-sudoku-plus.php:80
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/wp-sudoku-plus/wp-sudoku-plus.php on line 15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
3 plugin tags: game, sudoku, puzzle
wp-sudoku-plus/wp-sudoku-plus.php Passed 13 tests
The primary PHP file in "WP Sudoku Plus" version 1.5 is used by WordPress to initiate all plugin functionality
13 characters long description:
Simple Sudoku
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin904 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 71 | 33 | 531 |
JavaScript | 1 | 40 | 12 | 204 |
PO File | 3 | 58 | 63 | 169 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
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 | 8 | |
▷ Named functions | 8 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin