Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼1.69ms] Passed 4 tests
This is a short check of server-side resources used by PF Timer
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.46 ▲0.58 |
Dashboard /wp-admin | 3.34 ▲0.04 | 44.36 ▼2.28 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 46.55 ▼2.52 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 116.44 ▲20.11 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 32.88 ▼2.53 |
Add PF Timer /wp-admin/post-new.php?post_type=pf-timer | 3.47 | 70.65 |
PF Timer /wp-admin/edit.php?post_type=pf-timer | 3.30 | 34.06 |
Server storage [IO: ▲0.22MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for PF Timer
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,940 ▲169 | 13.55 ▼1.20 | 9.14 ▲6.88 | 42.87 ▼3.46 |
Dashboard /wp-admin | 2,233 ▲59 | 5.85 ▲0.94 | 109.07 ▼1.61 | 42.40 ▼1.32 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 1.97 ▼0.03 | 41.30 ▼0.64 | 35.50 ▼0.41 |
Add New Post /wp-admin/post-new.php | 1,556 ▲9 | 23.42 ▲5.33 | 658.94 ▲49.83 | 60.41 ▲4.67 |
Media Library /wp-admin/upload.php | 1,412 ▲27 | 4.18 ▼0.03 | 103.51 ▲10.76 | 44.88 ▲4.89 |
Add PF Timer /wp-admin/post-new.php?post_type=pf-timer | 3,521 | 3.01 | 85.61 | 38.45 |
PF Timer /wp-admin/edit.php?post_type=pf-timer | 1,096 | 2.42 | 35.90 | 29.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
No output text or server-side errors detected on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- > GET request to /wp-admin/edit.php?post_type=pf-timer
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: Cannot set properties of null (setting 'oninput')" "TypeError: Cannot set properties of null (setting 'oninput')\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/pf-timer/assets/js/pf-script.js?ver=1.0.0:29:34)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/edit.php?post_type=pf-timer
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: Cannot set properties of null (setting 'oninput')
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: wordpress timer, lightweight timer, timer, countdown, countdown timer...
pf-timer/pf-timer.php 92% from 13 tests
This is the main PHP file of "PF Timer" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Domain Path: The domain path folder does not exist ("/languages/")
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
Everything looks great! No dangerous files found in this plugin4,547 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 216 | 334 | 1,923 |
CSS | 3 | 403 | 53 | 1,688 |
PHP | 5 | 79 | 236 | 936 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 26.00 |
▷ Minimum class complexity | 26.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 2.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
PNG images were not found in this plugin