Nashaat Activity Log 1.2.4

Does Nashaat Activity Log work with WordPress 6.7 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
2Database errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 243.28 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.7
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/nashaat-activity-log/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=nashaat-activity-log%2Findex.php&plugin_status=all&paged=1&s&_wpnonce=fd50f7bdd3
Aspect after-activation
HTTP status 200
Load time 0.300 s
Memory usage 3.74 MiB
JS errors None
Resource errors None

Nashaat

Page screenshot: Nashaat
URL /wp-admin/admin.php?page=nashaat-table
Aspect menu-item
HTTP status 200
Load time 0.293 s
Memory usage 3.71 MiB
JS errors None
Resource errors None

Nashaat → Settings

Page screenshot: Nashaat → Settings
URL /wp-admin/admin.php?page=nashaat-settings
Aspect menu-item
HTTP status 200
Load time 0.164 s
Memory usage 3.71 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.159 s
Memory usage 3.6 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.306 s0.243 s-0.063 s3.48 MiB3.73 MiB+ 252.72 KiB
/wp-admin/edit.php0.186 s0.198 s+0.012 s3.54 MiB3.81 MiB+ 275.59 KiB
/wp-admin/post-new.php0.746 s0.616 s-0.130 s5.92 MiB6.2 MiB+ 287.66 KiB
/wp-admin/upload.php0.528 s0.595 s+0.067 s3.49 MiB3.72 MiB+ 235.35 KiB
/wp-admin/options-writing.php0.208 s0.209 s+0.001 s3.47 MiB3.71 MiB+ 239.34 KiB
/wp-admin/media-new.php0.252 s0.223 s-0.029 s3.46 MiB3.7 MiB+ 247.54 KiB
/wp-admin/edit-tags.php?taxonomy=category0.198 s0.176 s-0.022 s3.47 MiB3.73 MiB+ 258.21 KiB
/wp-admin/post-new.php?post_type=page0.539 s0.574 s+0.035 s5.92 MiB6.19 MiB+ 283.2 KiB
/wp-admin/options-discussion.php0.270 s0.240 s-0.030 s3.47 MiB3.7 MiB+ 235.84 KiB
/wp-admin/edit-comments.php0.199 s0.208 s+0.009 s3.49 MiB3.72 MiB+ 235.34 KiB
/0.454 s0.175 s-0.279 s3.48 MiB3.6 MiB+ 125.27 KiB
Average 0.353 s0.314 s-0.039 s3.93 MiB4.17 MiB+ 243.28 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
Language % Lines of code Comment lines Files
PHP90.4%5,9272,17541
Sass6.1%40313
JavaScript1.6%104112
XML0.8%51291
SVG0.7%4301
JSON0.4%2501
CSS0.0%202
Total 6,555 2,216 51

PHP Code Analysis | More results »

Lines of code 5,904
Total complexity 978
Median class complexity 20.5
Median method complexity 3.0
Most complex class NashaatLogTable
Most complex function NashaatWCProduct::render_log_info_output()
Classes 36
Methods 241
Functions 3

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Database Tables 1

Options wp_options 2

PHP Error Log 2 lines

[20-Nov-2024 22:46:00 UTC] WordPress database error Column 'event' cannot be null for query INSERT INTO `wp_nashaat_log` (`date`, `level`, `user_id`, `user_data`, `ip`, `context`, `event`, `log_info`) VALUES (1732142760, 2, 1, 'a:3:{s:2:\"id\";i:1;s:4:\"name\";s:4:\"user\";s:5:\"roles\";s:13:\"administrator\";}', '127.0.0.1', 'post', NULL, 'a:5:{s:2:\"id\";i:39;s:5:\"title\";s:10:\"Auto Draft\";s:9:\"post_type\";s:4:\"post\";s:10:\"new_status\";s:10:\"auto-draft\";s:10:\"old_status\";s:3:\"new\";}') made by get_default_post_to_edit, wp_insert_post, wp_transition_post_status, do_action('transition_post_status'), WP_Hook->do_action, WP_Hook->apply_filters, NashaatHookBase->__call, NashaatHookBase->log_items, NashaatHookBase->log_single_item
[20-Nov-2024 22:46:03 UTC] WordPress database error Column 'event' cannot be null for query INSERT INTO `wp_nashaat_log` (`date`, `level`, `user_id`, `user_data`, `ip`, `context`, `event`, `log_info`) VALUES (1732142763, 2, 1, 'a:3:{s:2:\"id\";i:1;s:4:\"name\";s:4:\"user\";s:5:\"roles\";s:13:\"administrator\";}', '127.0.0.1', 'post', NULL, 'a:5:{s:2:\"id\";i:40;s:5:\"title\";s:10:\"Auto Draft\";s:9:\"post_type\";s:4:\"page\";s:10:\"new_status\";s:10:\"auto-draft\";s:10:\"old_status\";s:3:\"new\";}') made by get_default_post_to_edit, wp_insert_post, wp_transition_post_status, do_action('transition_post_status'), WP_Hook->do_action, WP_Hook->apply_filters, NashaatHookBase->__call, NashaatHookBase->log_items, NashaatHookBase->log_single_item
See also: All tests for this plugin, How to Hide Nashaat Activity Log Admin Menus