Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼9.04ms] Passed 4 tests
A check of server-side resources used by Actify
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 44.50 ▲1.67 |
Dashboard /wp-admin | 3.39 ▲0.04 | 50.26 ▼16.14 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 47.52 ▼1.28 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 89.28 ▼14.96 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 34.35 ▼3.77 |
Add New /wp-admin/post-new.php?post_type=actify_reports | 3.42 | 49.81 |
Add New /wp-admin/post-new.php?post_type=actify_typos | 3.42 | 43.91 |
Mistakes /wp-admin/edit.php?post_type=actify_typos | 3.35 | 36.49 |
Add New /wp-admin/post-new.php?post_type=actify_highlights | 3.42 | 49.46 |
Actify Settings /wp-admin/options-general.php?page=actify-settings-page | 3.28 | 36.35 |
Highlights /wp-admin/edit.php?post_type=actify_highlights | 3.35 | 41.52 |
Reports /wp-admin/edit.php?post_type=actify_reports | 3.35 | 38.48 |
Server storage [IO: ▲1.53MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 22 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_actify_highlights_widget |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Actify
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,909 ▲148 | 13.27 ▼1.11 | 5.22 ▲3.39 | 44.19 ▲1.02 |
Dashboard /wp-admin | 2,306 ▲103 | 5.80 ▼0.11 | 96.01 ▼14.17 | 40.05 ▼5.47 |
Posts /wp-admin/edit.php | 2,185 ▲82 | 2.02 ▼0.00 | 35.78 ▼2.74 | 35.67 ▲0.42 |
Add New Post /wp-admin/post-new.php | 1,603 ▲58 | 23.32 ▲0.24 | 647.11 ▼42.98 | 65.61 ▼0.73 |
Media Library /wp-admin/upload.php | 1,488 ▲88 | 4.25 ▼0.03 | 97.51 ▼20.16 | 44.13 ▼6.34 |
Add New /wp-admin/post-new.php?post_type=actify_reports | 2,244 | 7.55 | 176.12 | 63.89 |
Add New /wp-admin/post-new.php?post_type=actify_typos | 2,244 | 7.53 | 180.91 | 60.57 |
Mistakes /wp-admin/edit.php?post_type=actify_typos | 1,149 | 1.99 | 31.79 | 33.27 |
Add New /wp-admin/post-new.php?post_type=actify_highlights | 2,282 | 7.60 | 161.27 | 56.57 |
Actify Settings /wp-admin/options-general.php?page=actify-settings-page | 1,236 | 2.61 | 44.01 | 27.06 |
Highlights /wp-admin/edit.php?post_type=actify_highlights | 1,149 | 2.00 | 35.48 | 28.19 |
Reports /wp-admin/edit.php?post_type=actify_reports | 1,149 | 2.00 | 31.71 | 32.16 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_actify_highlights_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Screenshots: These screenshots require images: #1 (Tooltip in the content.), #2 (Actify Highlights Widget.), #3 (Settings page.)
actify/actify.php Passed 13 tests
"Actify" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
108 characters long description:
Actify is a Wordpress plugin that increases the interaction of the readers of your website with the content.
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
Good job! No executable or dangerous file extensions detected12,693 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 1,075 | 1,295 | 8,645 |
SVG | 1 | 0 | 0 | 2,671 |
PHP | 3 | 208 | 207 | 917 |
CSS | 3 | 51 | 16 | 246 |
PO File | 1 | 66 | 74 | 172 |
Markdown | 1 | 21 | 0 | 42 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 22.50 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 2.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 37 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 37 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin