Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼7.18ms] Passed 4 tests
An overview of server-side resources used by Accountable Press Toolkit
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.51 ▼4.26 |
Dashboard /wp-admin | 3.35 ▲0.05 | 48.32 ▼5.39 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 46.18 ▼2.22 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 94.62 ▼16.85 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.38 ▼0.43 |
Accountable Press /wp-admin/options-general.php?page=accountable-press-settings | 3.25 | 36.14 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_accountable_press |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Accountable Press Toolkit
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.24 ▼0.11 | 1.92 ▼0.03 | 44.66 ▼3.19 |
Dashboard /wp-admin | 2,202 ▲28 | 5.63 ▲0.08 | 90.97 ▼7.53 | 39.09 ▼2.47 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▼0.01 | 40.26 ▼0.41 | 30.99 ▼7.32 |
Add New Post /wp-admin/post-new.php | 1,531 ▼5 | 23.09 ▲0.05 | 724.01 ▲51.79 | 66.26 ▼0.90 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.28 ▲0.09 | 104.38 ▼7.69 | 44.16 ▼3.54 |
Accountable Press /wp-admin/options-general.php?page=accountable-press-settings | 988 | 1.99 | 24.78 | 33.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- widget_recent-comments
- widget_accountable_press
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: accountable press, certified, news publishing
accountable-press-toolkit/accountable-press.php 85% from 13 tests
The main PHP script in "Accountable Press Toolkit" version 1.0.1 is automatically included on every request by WordPress
The following require your attention:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("accountable-press-toolkit.php" instead of "accountable-press.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected256 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 101 | 99 | 250 |
HTML | 1 | 0 | 2 | 5 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
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