Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼5.22ms] Passed 4 tests
Analyzing server-side resources used by Time Machine
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 40.83 ▼3.38 |
Dashboard /wp-admin | 3.39 ▲0.08 | 55.38 ▼1.22 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 55.79 ▲3.76 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 90.25 ▼19.04 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 41.54 ▲2.76 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_time-machine |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Time Machine
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.69 ▲0.32 | 1.66 ▼0.01 | 39.70 ▼1.70 |
Dashboard /wp-admin | 2,198 ▲21 | 5.67 ▲0.01 | 86.59 ▼8.57 | 42.10 ▼2.37 |
Posts /wp-admin/edit.php | 2,097 ▼6 | 1.96 ▼0.06 | 36.22 ▼0.88 | 33.81 ▼3.99 |
Add New Post /wp-admin/post-new.php | 1,533 ▼2 | 23.24 ▲4.98 | 650.11 ▼7.42 | 55.93 ▼10.74 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.24 ▼0.00 | 101.01 ▲0.30 | 47.59 ▲5.04 |
Uninstaller [IO: ▲0.04MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the followingThis plugin did not uninstall successfully, leaving 7 options in the database
- Incomplete uninstall procedure, leaving 14 files (0.04MB) in the plugin directory
- (new file) languages/messages.pot
- (new file) languages/tm-sr_RS.po
- (new file) languages/tm-by_BY.mo
- (new file) languages/tm-zh_CN.mo
- (new file) inc/widget.php
- (new file) languages/tm-sr_RS.mo
- (new file) languages/tm-it_IT.po
- (new file) inc/index.php
- (new file) languages/tm-by_BY.po
- (new file) languages/tm-it_IT.mo
- ...
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_time-machine
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
Even though no errors were found, this is by no means 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 take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/time-machine/inc/widget.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Tags: There are too many tags (15 tag instead of maximum 10)
time-machine/time-machine.php Passed 13 tests
The entry point to "Time Machine" version 0.4.1 is a PHP file that has certain tags in its header comment area
93 characters long description:
Widget to list articles published in past, relative to current date by specified time offset.
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 detected497 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 111 | 90 | 306 |
PO File | 4 | 73 | 88 | 191 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 28.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 56.00 |
Average method complexity | 8.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.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 | 7 | |
▷ Static methods | 1 | 14.29% |
▷ Public methods | 7 | 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 | 0 | |
▷ Global constants | 0 | 0.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
No PNG images were found in this plugin