Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲2.87MB] [CPU: ▲15.49ms] Passed 4 tests
Server-side resources used by coreActivity: Activity Logging plugin for WordPress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.08 ▲2.61 | 53.22 ▲14.27 |
Dashboard /wp-admin | 6.26 ▲2.95 | 63.00 ▲11.38 |
Posts /wp-admin/edit.php | 6.38 ▲3.01 | 66.84 ▲18.03 |
Add New Post /wp-admin/post-new.php | 8.86 ▲2.97 | 113.72 ▲18.26 |
Media Library /wp-admin/upload.php | 6.19 ▲2.95 | 55.28 ▲21.89 |
Tools /wp-admin/admin.php?page=coreactivity-tools | 6.36 | 92.57 |
Events /wp-admin/admin.php?page=coreactivity-events | 6.62 | 60.21 |
Setup Wizard /wp-admin/admin.php?page=coreactivity-wizard | 6.37 | 53.25 |
Settings /wp-admin/admin.php?page=coreactivity-settings | 6.32 | 53.19 |
About /wp-admin/admin.php?page=coreactivity-about | 6.32 | 48.61 |
Logs /wp-admin/admin.php?page=coreactivity-logs | 7.07 | 63.34 |
Overview /wp-admin/admin.php?page=coreactivity-dashboard | 6.48 | 66.60 |
Server storage [IO: ▲4.28MB] [DB: ▲0.02MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 540 new files
Database: 3 new tables, 6 new options
New tables |
---|
wp_coreactivity_logs |
wp_coreactivity_events |
wp_coreactivity_logmeta |
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by coreActivity: Activity Logging plugin for WordPress
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,941 ▲179 | 14.14 ▲0.01 | 1.83 ▲0.09 | 38.97 ▼6.34 |
Dashboard /wp-admin | 2,295 ▲118 | 5.65 ▲0.06 | 93.15 ▼8.06 | 43.03 ▼0.06 |
Posts /wp-admin/edit.php | 2,203 ▲106 | 2.03 ▲0.03 | 40.91 ▲1.34 | 36.25 ▼2.90 |
Add New Post /wp-admin/post-new.php | 1,604 ▲75 | 23.63 ▲0.08 | 646.07 ▼58.53 | 57.73 ▼1.69 |
Media Library /wp-admin/upload.php | 1,501 ▲98 | 4.21 ▲0.04 | 101.92 ▼1.59 | 44.74 ▲1.66 |
Tools /wp-admin/admin.php?page=coreactivity-tools | 1,082 | 2.31 | 37.15 | 50.39 |
Events /wp-admin/admin.php?page=coreactivity-events | 4,849 | 2.40 | 38.20 | 97.23 |
Setup Wizard /wp-admin/admin.php?page=coreactivity-wizard | 1,169 | 2.33 | 31.50 | 66.44 |
Settings /wp-admin/admin.php?page=coreactivity-settings | 1,320 | 2.36 | 33.86 | 61.29 |
About /wp-admin/admin.php?page=coreactivity-about | 1,215 | 2.30 | 31.97 | 94.30 |
Logs /wp-admin/admin.php?page=coreactivity-logs | 3,968 | 2.29 | 45.20 | 63.51 |
Overview /wp-admin/admin.php?page=coreactivity-dashboard | 1,456 | 2.27 | 32.05 | 100.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie tables detected upon uninstall: 3 tables
- wp_coreactivity_logmeta
- wp_coreactivity_logs
- wp_coreactivity_events
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/coreactivity/vendor/ip2location/ip2location/ip2location-php/ip2location_bin_download.php
- 36× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'GeoIp2\\Model\\AbstractModel' not found in wp-content/plugins/coreactivity/vendor/geoip2/geoip2/geoip2/src/Model/ConnectionType.php:21
- > PHP Fatal error
Uncaught Error: Class 'GeoIp2\\Exception\\GeoIp2Exception' not found in wp-content/plugins/coreactivity/vendor/geoip2/geoip2/geoip2/src/Exception/AddressNotFoundException.php:10
- > PHP Fatal error
Uncaught Error: Class 'GeoIp2\\Record\\AbstractPlaceRecord' not found in wp-content/plugins/coreactivity/vendor/geoip2/geoip2/geoip2/src/Record/Subdivision.php:31
- > PHP Fatal error
Uncaught Error: Class 'GeoIp2\\Model\\AbstractModel' not found in wp-content/plugins/coreactivity/vendor/geoip2/geoip2/geoip2/src/Model/Domain.php:21
- > PHP Fatal error
Uncaught Error: Class 'GeoIp2\\Model\\City' not found in wp-content/plugins/coreactivity/vendor/geoip2/geoip2/geoip2/src/Model/Enterprise.php:13
- > PHP Fatal error
Uncaught Error: Interface 'GeoIp2\\ProviderInterface' not found in wp-content/plugins/coreactivity/vendor/geoip2/geoip2/geoip2/src/WebService/Client.php:49
- > PHP Fatal error
Uncaught Error: Class 'GeoIp2\\Record\\AbstractPlaceRecord' not found in wp-content/plugins/coreactivity/vendor/geoip2/geoip2/geoip2/src/Record/Continent.php:24
- > PHP Fatal error
Uncaught Error: Class 'GeoIp2\\Record\\AbstractPlaceRecord' not found in wp-content/plugins/coreactivity/vendor/geoip2/geoip2/geoip2/src/Record/Country.php:30
- > PHP Fatal error
Uncaught Error: Class 'GeoIp2\\Model\\AbstractModel' not found in wp-content/plugins/coreactivity/vendor/geoip2/geoip2/geoip2/src/Model/AnonymousIp.php:32
- > PHP Fatal error
Uncaught Error: Class 'GeoIp2\\Model\\AbstractModel' not found in wp-content/plugins/coreactivity/vendor/geoip2/geoip2/geoip2/src/Model/Country.php:31
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots need descriptions #1, #2, #3, #4, #5, #6 in coreactivity/assets to your readme.txt
coreactivity/coreactivity.php 92% from 13 tests
The main PHP script in "coreActivity: Activity Logging plugin for WordPress" version 1.4 is automatically included on every request by WordPress
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 153 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected52,500 lines of code in 486 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 307 | 7,404 | 5,761 | 30,881 |
CSS | 41 | 1,225 | 39 | 11,292 |
Sass | 54 | 898 | 26 | 5,214 |
JavaScript | 70 | 339 | 108 | 3,413 |
Markdown | 12 | 524 | 0 | 1,599 |
JSON | 2 | 0 | 0 | 101 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 16.37 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 198.00 |
Average method complexity | 2.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 80.00 |
Code structure | ||
---|---|---|
Namespaces | 54 | |
Interfaces | 1 | |
Traits | 3 | |
Classes | 222 | |
▷ Abstract classes | 48 | 21.62% |
▷ Concrete classes | 174 | 78.38% |
▷ Final classes | 2 | 1.15% |
Methods | 2,011 | |
▷ Static methods | 257 | 12.78% |
▷ Public methods | 1,417 | 70.46% |
▷ Protected methods | 412 | 20.49% |
▷ Private methods | 182 | 9.05% |
Functions | 26 | |
▷ Named functions | 21 | 80.77% |
▷ Anonymous functions | 5 | 19.23% |
Constants | 147 | |
▷ Global constants | 11 | 7.48% |
▷ Class constants | 136 | 92.52% |
▷ Public constants | 120 | 88.24% |
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
3 compressed PNG files occupy 0.06MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
d4plib/resources/vendor/flags/img/flags_responsive.png | 54.14KB | 57.01KB | 0.00% |
d4plib/resources/gfx/buy_me_a_coffee.png | 7.73KB | 7.79KB | 0.00% |
d4plib/resources/vendor/flags/img/flag_placeholder.png | 0.09KB | 0.09KB | 0.00% |