10% wordproof-timestamp

Code Review | WordProof Timestamp

WordPress plugin WordProof Timestamp scored10%from 54 tests.

About plugin

  • Plugin page: wordproof-timestamp
  • Plugin version: 3.0.14
  • PHP compatiblity: 7.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.8-6.2
  • WordPress version: 6.3.1
  • First release: May 31, 2019
  • Latest release: Jul 2, 2023
  • Number of updates: 105
  • Update frequency: every 14.4 days
  • Top authors: wordproof (100%)

Code review

54 tests

User reviews

14 reviews

Install metrics

500+ active /28,282 total downloads

Benchmarks

Plugin footprint 23% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
  • This plugin did not install gracefully
    • > Warning in wp-content/plugins/wordproof-timestamp/vendor/vlucas/phpdotenv/src/Store/File/Reader.php+73
    file_get_contents(wp-content/plugins/wordproof-timestamp/.env): failed to open stream: No such file or directory

Server metrics [RAM: ▼1.50MB] [CPU: ▼50.87ms] Passed 4 tests

A check of server-side resources used by WordProof Timestamp
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.49 ▼0.9714.18 ▼27.79
Dashboard /wp-admin2.51 ▼0.798.83 ▼42.42
Posts /wp-admin/edit.php2.51 ▼0.849.75 ▼39.94
Add New Post /wp-admin/post-new.php2.51 ▼3.3811.58 ▼93.32
Media Library /wp-admin/upload.php2.51 ▼0.7211.06 ▼22.62
WordProof After Authenticate /wp-admin/admin.php?page=wordproof-close-after-redirect2.519.33
WordProof Authenticate /wp-admin/admin.php?page=wordproof-redirect-authenticate2.518.47
Bulk /wp-admin/admin.php?page=wordproof-bulk2.519.28
Scheduled Actions /wp-admin/tools.php?page=action-scheduler2.518.75
WordProof /wp-admin/options-general.php?page=wordproof2.519.42
WordProof Settings /wp-admin/admin.php?page=wordproof-redirect-settings2.518.24

Server storage [IO: ▲1.22MB] [DB: ▲0.01MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 431 new files
Database: 4 new tables, 10 new options
New tables
wp_actionscheduler_claims
wp_actionscheduler_groups
wp_actionscheduler_logs
wp_actionscheduler_actions
New WordPress options
action_scheduler_hybrid_store_demarkation
action_scheduler_lock_async-request-runner
schema-ActionScheduler_LoggerSchema
widget_recent-comments
widget_recent-posts
widget_theysaidso_widget
can_compress_scripts
schema-ActionScheduler_StoreSchema
db_upgraded
theysaidso_admin_options

Browser metrics Passed 4 tests

WordProof Timestamp: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,808 ▲6214.48 ▼0.061.82 ▲0.2044.43 ▲6.09
Dashboard /wp-admin2,211 ▲235.83 ▲0.97118.34 ▲13.1946.41 ▲3.63
Posts /wp-admin/edit.php2,097 ▲52.02 ▼0.0139.56 ▲2.2434.11 ▲0.63
Add New Post /wp-admin/post-new.php1,695 ▲17622.23 ▼0.95622.87 ▼42.2828.67 ▼36.58
Media Library /wp-admin/upload.php1,396 ▲84.16 ▼0.02100.09 ▼3.0344.66 ▼2.06
WordProof After Authenticate /wp-admin/admin.php?page=wordproof-close-after-redirect7512.0225.9822.45
WordProof Authenticate /wp-admin/admin.php?page=wordproof-redirect-authenticate57012.75425.82102.53
Bulk /wp-admin/admin.php?page=wordproof-bulk8567.21155.4724.04
Scheduled Actions /wp-admin/tools.php?page=action-scheduler1,2421.8424.5930.06
WordProof /wp-admin/options-general.php?page=wordproof8467.1766.0434.28
WordProof Settings /wp-admin/admin.php?page=wordproof-redirect-settings57811.79415.3235.85

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
  • This plugin cannot be uninstalled
    • > Warning in wp-content/plugins/wordproof-timestamp/vendor/vlucas/phpdotenv/src/Store/File/Reader.php+73
    file_get_contents(wp-content/plugins/wordproof-timestamp/.env): failed to open stream: No such file or directory
  • Zombie tables detected upon uninstall: 4 tables
    • wp_actionscheduler_groups
    • wp_actionscheduler_claims
    • wp_actionscheduler_actions
    • wp_actionscheduler_logs
  • The uninstall procedure has failed, leaving 10 options in the database
    • schema-ActionScheduler_LoggerSchema
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments
    • action_scheduler_hybrid_store_demarkation
    • theysaidso_admin_options
    • action_scheduler_lock_async-request-runner
    • widget_recent-posts
    • can_compress_scripts
    • schema-ActionScheduler_StoreSchema

Smoke tests 25% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
  • 12 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=wordproof-redirect-settings
    • > POST request to /wp-cron.php?doing_wp_cron=1696806477.6080820560455322265625
    • > Warning in wp-content/plugins/wordproof-timestamp/vendor/vlucas/phpdotenv/src/Store/File/Reader.php+73
    file_get_contents(wp-content/plugins/wordproof-timestamp/.env): failed to open stream: No such file or directory

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
The following issues need your attention
  • 198× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'ActionScheduler_Logger' not found in wp-content/plugins/wordproof-timestamp/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_DBLogger.php:10
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/wordproof-timestamp/vendor/composer/installers/src/Composer/Installers/PhpBBInstaller.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'ActionScheduler_Abstract_Schedule' not found in wp-content/plugins/wordproof-timestamp/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_Abstract_RecurringSchedule.php:6
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/wordproof-timestamp/vendor/composer/installers/src/Composer/Installers/PPIInstaller.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/wordproof-timestamp/vendor/composer/installers/src/Composer/Installers/BonefishInstaller.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/wordproof-timestamp/vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/wordproof-timestamp/vendor/composer/installers/src/Composer/Installers/Redaxo5Installer.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'ActionScheduler_Abstract_Schedule' not found in wp-content/plugins/wordproof-timestamp/vendor/woocommerce/action-scheduler/classes/schedules/ActionScheduler_SimpleSchedule.php:6
    • > PHP Fatal error
      Uncaught Error: Class 'ActionScheduler_SimpleSchedule' not found in wp-content/plugins/wordproof-timestamp/vendor/woocommerce/action-scheduler/classes/schedules/ActionScheduler_CanceledSchedule.php:6
    • > PHP Fatal error
      Uncaught Error: Class 'Symfony\\Polyfill\\Php80\\PhpToken' not found in wp-content/plugins/wordproof-timestamp/vendor/symfony/polyfill-php80/Resources/stubs/PhpToken.php:13

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
    • > GET request to /wp-admin/admin.php?page=wordproof-close-after-redirect
    • > Javascript (warning) in unknown
    /wp-admin/admin.php?page=wordproof-close-after-redirect 139 Scripts may close only the windows that were opened by them.

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
10 plugin tags: proof, eosio, decentralisation, timestamp, blockchain...

wordproof-timestamp/wordproof-timestamp.php 92% from 13 tests

Analyzing the main PHP file in "WordProof Timestamp" version 3.0.14
Please take the time to fix the following:
  • Domain Path: The domain path points to an invalid folder, "/languages" does not exist

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
There were no executable files found in this plugin22,424 lines of code in 412 files:
LanguageFilesBlank linesComment linesLines of code
PHP3613,9249,88919,525
JavaScript362513261,329
JSON100925
Markdown92380518
YAML3313123
CSS2204

PHP code Passed 2 tests

This is a very shot review of 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 code0.36
Average class complexity5.94
▷ Minimum class complexity1.00
▷ Maximum class complexity166.00
Average method complexity2.28
▷ Minimum method complexity1.00
▷ Maximum method complexity40.00
Code structure
Namespaces39
Interfaces20
Traits0
Classes318
▷ Abstract classes247.55%
▷ Concrete classes29492.45%
▷ Final classes4013.61%
Methods1,401
▷ Static methods33924.20%
▷ Public methods1,08177.16%
▷ Protected methods18513.20%
▷ Private methods1359.64%
Functions203
▷ Named functions12461.08%
▷ Anonymous functions7938.92%
Constants77
▷ Global constants1722.08%
▷ Class constants6077.92%
▷ Public constants4778.33%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected