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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.49MB] [CPU: ▼0.50ms] Passed 4 tests
An overview of server-side resources used by Timify
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.27 | 37.28 ▲3.58 |
Dashboard /wp-admin | 3.93 ▲0.63 | 52.72 ▲4.63 |
Posts /wp-admin/edit.php | 3.97 ▲0.61 | 53.94 ▲7.07 |
Add New Post /wp-admin/post-new.php | 6.43 ▲0.54 | 82.93 ▼14.51 |
Media Library /wp-admin/upload.php | 3.75 ▲0.52 | 40.27 ▲4.31 |
Timify /wp-admin/options-general.php?page=timify_settings | 3.75 | 41.91 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: 1 new table, 12 new options
New tables |
---|
wp_timify_post_state |
New WordPress options |
---|
theysaidso_admin_options |
has_transient |
timify_reading_settings |
timify_settings |
timify_view_settings |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
track_transient |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Timify
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,983 ▲248 | 15.10 ▲0.96 | 1.62 ▼0.05 | 42.45 ▲5.29 |
Dashboard /wp-admin | 2,389 ▲200 | 6.73 ▲1.82 | 141.41 ▲24.26 | 43.67 ▲2.87 |
Posts /wp-admin/edit.php | 2,298 ▲206 | 3.74 ▲1.70 | 57.68 ▲16.98 | 36.82 ▲1.09 |
Add New Post /wp-admin/post-new.php | 1,546 ▲18 | 17.64 ▼0.73 | 615.24 ▲7.04 | 34.34 ▼29.49 |
Media Library /wp-admin/upload.php | 1,431 ▲43 | 4.39 ▲0.13 | 90.54 ▼10.91 | 43.04 ▼0.32 |
Timify /wp-admin/options-general.php?page=timify_settings | 2,050 | 3.94 | 70.65 | 32.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The uninstall procedure failed, leaving 1 table in the database
- wp_timify_post_state
- The uninstall procedure has failed, leaving 8 options in the database
- widget_recent-comments
- track_transient
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- has_transient
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
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
Please fix the following
- 8× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
require_once(TIMIFY_INCLUDES/admin/settings/class.settings-api.php): failed to open stream: No such file or directory in wp-content/plugins/timify/includes/admin/settings/class.settings.php on line 2
- > PHP Fatal error
Trait 'Timify\\helpers\\HelperFunctions' not found in wp-content/plugins/timify/includes/admin/settings/class.settings-api.php on line 4
- > PHP Warning
Use of undefined constant TIMIFY_INCLUDES - assumed 'TIMIFY_INCLUDES' (this will throw an Error in a future version of PHP) in wp-content/plugins/timify/includes/admin/settings/class.settings.php on line 2
- > PHP Fatal error
require_once(): Failed opening required 'TIMIFY_INCLUDES/admin/settings/class.settings-api.php' (include_path='.:/usr/share/php') in wp-content/plugins/timify/includes/admin/settings/class.settings.php on line 2
- > PHP Fatal error
require_once(): Failed opening required 'TIMIFY_INCLUDES/admin/settings/class.settings.php' (include_path='.:/usr/share/php') in wp-content/plugins/timify/includes/admin/admin-init.php on line 12
- > PHP Warning
require_once(TIMIFY_INCLUDES/admin/settings/class.settings.php): failed to open stream: No such file or directory in wp-content/plugins/timify/includes/admin/admin-init.php on line 12
- > PHP Warning
Use of undefined constant TIMIFY_INCLUDES - assumed 'TIMIFY_INCLUDES' (this will throw an Error in a future version of PHP) in wp-content/plugins/timify/includes/admin/admin-init.php on line 12
- > PHP Fatal error
Trait 'Timify\\helpers\\HelperFunctions' not found in wp-content/plugins/timify/includes/frontend/class.frontend.php on line 15
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: word count, post view count, date, reading time, modified time
timify/timify.php 92% from 13 tests
"Timify" version 1.1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 165 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected2,120 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 359 | 619 | 1,889 |
PO File | 1 | 56 | 64 | 152 |
JavaScript | 1 | 12 | 2 | 79 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 37.29 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 90.00 |
Average method complexity | 3.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 1 | 16.67% |
Methods | 89 | |
▷ Static methods | 1 | 1.12% |
▷ Public methods | 80 | 89.89% |
▷ Protected methods | 4 | 4.49% |
▷ Private methods | 5 | 5.62% |
Functions | 8 | |
▷ Named functions | 7 | 87.50% |
▷ Anonymous functions | 1 | 12.50% |
Constants | 7 | |
▷ Global constants | 7 | 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 were not PNG files found in your plugin