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
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼5.67ms] Passed 4 tests
A check of server-side resources used by Clock Tik Tik
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 36.69 ▼7.61 |
Dashboard /wp-admin | 3.39 ▲0.09 | 47.46 ▼6.65 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 57.46 ▼1.52 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 89.71 ▼6.89 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 38.12 ▲4.68 |
Add Clock /wp-admin/admin.php?page=MCWC_add_clock | 3.35 | 32.10 |
Clock Tik Tik /wp-admin/admin.php?page=MCWC_listing | 3.29 | 33.37 |
Server storage [IO: ▲1.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Clock Tik Tik
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲51 | 14.34 ▼0.22 | 1.77 ▲0.17 | 40.07 ▼1.92 |
Dashboard /wp-admin | 2,221 ▲41 | 5.62 ▼0.05 | 91.61 ▲4.89 | 37.43 ▼7.70 |
Posts /wp-admin/edit.php | 2,123 ▲20 | 2.00 ▲0.02 | 40.00 ▲2.05 | 36.68 ▲3.78 |
Add New Post /wp-admin/post-new.php | 1,545 ▲19 | 23.27 ▼0.21 | 665.52 ▲10.99 | 63.77 ▲11.89 |
Media Library /wp-admin/upload.php | 1,423 ▲32 | 4.23 ▲0.09 | 103.72 ▼1.00 | 44.32 ▼3.21 |
Add Clock /wp-admin/admin.php?page=MCWC_add_clock | 4,623 | 2.33 | 52.21 | 47.61 |
Clock Tik Tik /wp-admin/admin.php?page=MCWC_listing | 827 | 2.05 | 30.15 | 24.77 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- 18 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=MCWC_add_clock
- > Notice in wp-content/plugins/clock-tik-tik/templates/add_new_clock_template.php+225
Undefined variable: metadata
- 36 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=MCWC_add_clock
- > Notice in wp-content/plugins/clock-tik-tik/templates/add_new_clock_template.php+225
Trying to access array offset on value of type null
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=MCWC_add_clock
- > Notice in wp-content/plugins/clock-tik-tik/inc/clock_setting.php+152
Undefined variable: data
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=MCWC_add_clock
- > Notice in wp-content/plugins/clock-tik-tik/templates/add_new_clock_template.php+220
Undefined index: id
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=MCWC_listing
- > Notice in wp-content/plugins/clock-tik-tik/inc/clock_setting.php+129
Undefined index: action
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
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/clock-tik-tik/clock-tik-tik.php:18
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=MCWC_add_clock
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=MCWC_add_clock 195 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/admin.php?page=MCWC_add_clock
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=MCWC_add_clock 202 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/admin.php?page=MCWC_add_clock
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=MCWC_add_clock 209 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/admin.php?page=MCWC_add_clock
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=MCWC_add_clock 216 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/admin.php?page=MCWC_add_clock
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=MCWC_add_clock 305 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/admin.php?page=MCWC_add_clock
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=MCWC_add_clock 312 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: A description for screenshot #3 is required in clock-tik-tik/assets to your readme.txt
clock-tik-tik/clock-tik-tik.php Passed 13 tests
The entry point to "Clock Tik Tik" version 1.0 is a PHP file that has certain tags in its header comment area
44 characters long description:
Add any timezone clock in analog and digital
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
Good job! No executable or dangerous file extensions detected1,280 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 230 | 68 | 737 |
CSS | 3 | 45 | 8 | 473 |
JavaScript | 3 | 10 | 4 | 70 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 14.50 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 2.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 3 | 21.43% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 0.67MB with 0.44MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-2.png | 134.35KB | 41.96KB | ▼ 68.77% |
assets/banner-1544X500.png | 218.64KB | 86.56KB | ▼ 60.41% |
assets/banner-772x250.png | 58.30KB | 22.29KB | ▼ 61.77% |
assets/screenshot-1.png | 144.33KB | 46.16KB | ▼ 68.02% |
assets/icon-256x256.png | 103.08KB | 32.94KB | ▼ 68.05% |