Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.67MB] [CPU: ▲1.96ms] Passed 4 tests
A check of server-side resources used by ZTR Zeumic Work Timer
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.10 ▲0.64 | 41.54 ▼1.36 |
Dashboard /wp-admin | 3.98 ▲0.68 | 57.00 ▲8.81 |
Posts /wp-admin/edit.php | 4.03 ▲0.68 | 56.17 ▲7.82 |
Add New Post /wp-admin/post-new.php | 6.58 ▲0.70 | 93.39 ▼7.43 |
Media Library /wp-admin/upload.php | 3.91 ▲0.68 | 48.12 ▲12.12 |
Zeumic Shared Settings /wp-admin/admin.php?page=zsc-settings | 3.87 | 41.97 |
Export /wp-admin/admin.php?page=ztr-export | 3.87 | 43.04 |
Use ZTR 0 /wp-admin/admin.php?page=ztr | 3.88 | 45.05 |
Settings /wp-admin/admin.php?page=ztr-settings | 3.87 | 43.52 |
Server storage [IO: ▲0.60MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 61 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_ztr_list |
New WordPress options |
---|
widget_recent-comments |
ztr_version |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for ZTR Zeumic Work Timer
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,868 ▲133 | 13.66 ▼0.70 | 1.64 ▼0.01 | 38.02 ▼0.11 |
Dashboard /wp-admin | 2,262 ▲71 | 5.84 ▲0.95 | 106.83 ▲2.69 | 39.30 ▼2.06 |
Posts /wp-admin/edit.php | 2,144 ▲58 | 2.00 ▼0.01 | 35.56 ▲0.75 | 35.04 ▼2.85 |
Add New Post /wp-admin/post-new.php | 1,573 ▲40 | 18.78 ▼4.07 | 613.58 ▼47.33 | 55.45 ▼15.90 |
Media Library /wp-admin/upload.php | 1,447 ▲56 | 4.23 ▲0.02 | 96.37 ▼5.15 | 43.94 ▼2.18 |
Zeumic Shared Settings /wp-admin/admin.php?page=zsc-settings | 868 | 2.18 | 26.86 | 25.83 |
Export /wp-admin/admin.php?page=ztr-export | 910 | 2.44 | 34.96 | 27.56 |
Use ZTR 0 /wp-admin/admin.php?page=ztr | 1,208 | 2.57 | 48.90 | 29.32 |
Settings /wp-admin/admin.php?page=ztr-settings | 860 | 2.18 | 25.23 | 25.06 |
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_ztr_list
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- can_compress_scripts
- ztr_version
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 11× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Zeumic\\ZSC\\Core\\PluginDistributable' not found in wp-content/plugins/ztr-zeumic-work-timer/zsc/src/PluginExt.php:4
- > PHP Fatal error
Uncaught Error: Class 'Zeumic\\ZSC\\Core\\Singleton' not found in wp-content/plugins/ztr-zeumic-work-timer/zsc/src/Plugin.php:8
- > PHP Fatal error
Uncaught Error: Class 'Zeumic\\ZSC\\Core\\Plugin' not found in wp-content/plugins/ztr-zeumic-work-timer/zsc/src/PluginDistributable.php:7
- > PHP Fatal error
Uncaught Error: Class 'Zeumic\\ZSC\\Core\\Plugin' not found in wp-content/plugins/ztr-zeumic-work-timer/zsc/src/Common.php:7
- > PHP Fatal error
Uncaught Error: Class 'Zeumic\\ZSC\\Core\\PluginCore' not found in wp-content/plugins/ztr-zeumic-work-timer/src/Plugin.php:6
- > PHP Fatal error
Uncaught Error: Class 'Zeumic\\ZSC\\Core\\PluginDistributable' not found in wp-content/plugins/ztr-zeumic-work-timer/zsc/src/PluginCore.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_file_data() in wp-content/plugins/ztr-zeumic-work-timer/zsc/zsc-zeumic-suite-common.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function Zeumic\\ZSC\\Core\\trailingslashit() in wp-content/plugins/ztr-zeumic-work-timer/zsc/load.php:31
- > PHP Fatal error
Uncaught Error: Class 'Zeumic\\ZSC\\Core\\Singleton' not found in wp-content/plugins/ztr-zeumic-work-timer/zsc/src/PluginLoader.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_file_data() in wp-content/plugins/ztr-zeumic-work-timer/zsc/zsc-zeumic-suite-common.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Tags: Please delete some tags, you are using 27 tag instead of maximum 10
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5 in ztr-zeumic-work-timer/assets to your readme.txt
ztr-zeumic-work-timer/ztr-zeumic-work-timer.php 85% from 13 tests
The main file in "ZTR Zeumic Work Timer" v. 1.9.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 301 characters long)
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected6,696 lines of code in 48 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 21 | 783 | 281 | 3,252 |
PHP | 18 | 491 | 913 | 2,535 |
CSS | 9 | 161 | 82 | 909 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 29.92 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 77.00 |
Average method complexity | 2.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 5 | 41.67% |
▷ Concrete classes | 7 | 58.33% |
▷ Final classes | 0 | 0.00% |
Methods | 186 | |
▷ Static methods | 5 | 2.69% |
▷ Public methods | 170 | 91.40% |
▷ Protected methods | 6 | 3.23% |
▷ Private methods | 10 | 5.38% |
Functions | 37 | |
▷ Named functions | 16 | 43.24% |
▷ Anonymous functions | 21 | 56.76% |
Constants | 4 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 4 | 100.00% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
9 PNG files occupy 0.05MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
zsc/vendor/jquery-ui/images/ui-icons_777620_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
zsc/vendor/jquery-ui/images/ui-icons_ffffff_256x240.png | 6.15KB | 4.17KB | ▼ 32.13% |
zsc/vendor/jquery-ui/images/ui-icons_cc0000_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
img/stop.png | 0.61KB | 0.64KB | 0.00% |
zsc/img/refresh.png | 14.89KB | 0.50KB | ▼ 96.65% |