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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.20MB] [CPU: ▼2.04ms] Passed 4 tests
Analyzing server-side resources used by YMC Crossword
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.20 | 42.98 ▲1.72 |
Dashboard /wp-admin | 3.50 ▲0.20 | 46.00 ▼3.21 |
Posts /wp-admin/edit.php | 3.61 ▲0.26 | 47.93 ▲5.15 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 86.03 ▼9.75 |
Media Library /wp-admin/upload.php | 3.42 ▲0.20 | 35.75 ▲3.09 |
Crossword /wp-admin/edit.php?post_type=ymc_crossword | 3.47 | 34.99 |
Add New /wp-admin/post-new.php?post_type=ymc_crossword | 3.55 | 43.28 |
Server storage [IO: ▲2.22MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 40 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for YMC Crossword
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,923 ▲161 | 13.52 ▼0.69 | 10.06 ▲8.20 | 44.76 ▲1.97 |
Dashboard /wp-admin | 2,240 ▲59 | 5.82 ▲0.11 | 91.47 ▼11.78 | 37.53 ▼5.49 |
Posts /wp-admin/edit.php | 2,147 ▲44 | 2.24 ▲0.26 | 41.95 ▲0.47 | 37.96 ▼0.68 |
Add New Post /wp-admin/post-new.php | 1,565 ▲39 | 23.33 ▲0.04 | 590.71 ▼62.75 | 32.47 ▼24.49 |
Media Library /wp-admin/upload.php | 1,448 ▲48 | 4.42 ▲0.22 | 99.88 ▼2.30 | 43.08 ▼0.80 |
Crossword /wp-admin/edit.php?post_type=ymc_crossword | 1,108 | 2.22 | 34.82 | 28.52 |
Add New /wp-admin/post-new.php?post_type=ymc_crossword | 3,246 | 8.01 | 226.73 | 104.43 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: crossword, game, mind, puzzles
ymc-crossword/ymc-crossword.php 85% from 13 tests
Analyzing the main PHP file in "YMC Crossword" version 2.1
Please take the time to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin2,539 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 198 | 71 | 962 |
PHP | 9 | 266 | 175 | 772 |
Sass | 2 | 47 | 18 | 741 |
SVG | 8 | 3 | 2 | 62 |
CSS | 2 | 2 | 2 | 2 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 9.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 2.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 2 | 5.71% |
▷ Public methods | 32 | 91.43% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 8.57% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 4 | |
▷ Global constants | 3 | 75.00% |
▷ Class constants | 1 | 25.00% |
▷ Public constants | 1 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 1.48MB with 1.21MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
YmcCrossword/assets/images/bg_popup.png | 1,509.29KB | 313.50KB | ▼ 79.23% |
YmcCrossword/assets/images/logo.png | 4.88KB | 0.78KB | ▼ 84.05% |