90% k-timelinda

Code Review | Timelinda

WordPress plugin Timelinda scored90%from 54 tests.

About plugin

  • Plugin page: k-timelinda
  • Plugin version: 1.0.1
  • PHP compatiblity: 5.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.5-5.9.3
  • WordPress version: 6.3.1
  • First release: Feb 28, 2019
  • Latest release: Apr 24, 2022
  • Number of updates: 11
  • Update frequency: every 104.7 days
  • Top authors: fabiolobo (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

200+ active /2,548 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.03MB] [CPU: ▼3.14ms] Passed 4 tests

An overview of server-side resources used by Timelinda
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0243.16 ▼1.47
Dashboard /wp-admin3.33 ▲0.0356.73 ▲2.61
Posts /wp-admin/edit.php3.38 ▲0.0348.68 ▲0.28
Add New Post /wp-admin/post-new.php5.91 ▲0.0385.43 ▼13.98
Media Library /wp-admin/upload.php3.26 ▲0.0339.19 ▲4.01
Timelinda /wp-admin/options-general.php?page=k_timelinda3.2636.05

Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_theysaidso_widget
widget_recent-comments
widget_recent-posts
db_upgraded
theysaidso_admin_options

Browser metrics Passed 4 tests

Timelinda: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲714.35 ▼0.021.77 ▼0.1247.29 ▲7.56
Dashboard /wp-admin2,199 ▲285.62 ▼0.0187.98 ▼7.9741.13 ▼1.97
Posts /wp-admin/edit.php2,104 ▲41.97 ▼0.0337.60 ▲1.2734.38 ▼5.46
Add New Post /wp-admin/post-new.php1,548 ▲2223.02 ▲5.52666.88 ▼50.8167.26 ▼8.16
Media Library /wp-admin/upload.php1,404 ▲44.15 ▼0.15111.63 ▲6.4847.44 ▼0.56
Timelinda /wp-admin/options-general.php?page=k_timelinda1,5622.9668.4729.44

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_theysaidso_widget
    • widget_recent-posts
    • db_upgraded

Smoke tests Passed 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 Passed 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
Looking good! No server-side errors or output 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 on the user side

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
2 plugin tags: shortcode, timeline

k-timelinda/k-timelinda.php 92% from 13 tests

"Timelinda" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
  • Text Domain: Please use dashes and lowercase characters for text domains

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin483 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP28119255
CSS1230124
PO File1353899
JavaScript1005

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.12
Average class complexity2.00
▷ Minimum class complexity2.00
▷ Maximum class complexity2.00
Average method complexity1.06
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods16
▷ Static methods00.00%
▷ Public methods16100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions7
▷ Named functions7100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin