Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼4.19ms] Passed 4 tests
This is a short check of server-side resources used by Timedlinks for Wordpress
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 31.41 ▼8.65 |
Dashboard /wp-admin | 3.23 ▼0.07 | 295.29 ▲248.83 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 48.51 ▲1.52 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 92.30 ▼10.76 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 35.21 ▲1.15 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
pick_settings_latest_version |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Timedlinks for Wordpress
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,946 ▲200 | 13.83 ▼0.59 | 5.02 ▲3.41 | 36.71 ▼4.06 |
Dashboard /wp-admin | 2,244 ▲59 | 5.13 ▼0.72 | 101.82 ▲0.21 | 39.62 ▼5.13 |
Posts /wp-admin/edit.php | 2,132 ▲43 | 2.36 ▲0.30 | 42.63 ▲5.93 | 34.82 ▼0.33 |
Add New Post /wp-admin/post-new.php | 1,547 ▲27 | 23.16 ▼0.02 | 630.74 ▲3.59 | 36.11 ▼19.15 |
Media Library /wp-admin/upload.php | 1,429 ▲41 | 4.56 ▲0.31 | 96.23 ▼3.01 | 41.70 ▼1.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- pick_settings_latest_version
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Screenshots: A description for screenshot #1 is required in timedlinks/assets to your readme.txt
- Contributors: The plugin contributors field is not present
timedlinks/timedlinks.php Passed 13 tests
The principal PHP file in "Timedlinks for Wordpress" v. 1.0.0 is loaded by WordPress automatically on each request
115 characters long description:
Timedlinks has everything you need to create a poppup. It's a powerful time-based conversion optimization toolkits.
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
No dangerous file extensions were detected978 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 193 | 19 | 550 |
JavaScript | 1 | 66 | 29 | 405 |
SVG | 1 | 0 | 1 | 23 |
PHP code Passed 2 tests
Analyzing 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.47 |
Average class complexity | 45.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 133.00 |
Average method complexity | 3.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 50 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 34 | 68.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 16 | 32.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin