Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼5.20ms] Passed 4 tests
A check of server-side resources used by SimpleForm Akismet
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 41.03 ▼1.96 |
Dashboard /wp-admin | 3.45 ▲0.15 | 51.70 ▲1.90 |
Posts /wp-admin/edit.php | 3.56 ▲0.21 | 50.13 ▼1.08 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 88.31 ▼19.65 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 37.62 ▲2.20 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_sform_submissions |
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
sform_aks_db_version |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by SimpleForm Akismet
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲54 | 13.28 ▼1.10 | 1.92 ▼0.04 | 41.80 ▼4.92 |
Dashboard /wp-admin | 2,203 ▲12 | 5.79 ▲0.92 | 108.76 ▲2.80 | 39.50 ▼5.85 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.03 ▲0.07 | 39.58 ▼3.18 | 33.96 ▼2.62 |
Add New Post /wp-admin/post-new.php | 1,542 ▲23 | 18.40 ▼4.75 | 654.62 ▲33.09 | 51.81 ▼9.32 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.16 ▼0.04 | 99.27 ▼7.75 | 45.74 ▼3.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
7 plugin tags: contact form, anti-spam, spam manager, akismet, simpleform addon...
simpleform-akismet/simpleform-akismet.php Passed 13 tests
The entry point to "SimpleForm Akismet" version 1.1.2 is a PHP file that has certain tags in its header comment area
140 characters long description:
Do you get junk emails through your form? This SimpleForm addon helps prevent spam submission. To work properly you need an Akismet API Key.
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
Success! There were no dangerous files found in this plugin826 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 327 | 373 | 734 |
JavaScript | 2 | 14 | 0 | 92 |
PHP code Passed 2 tests
A short review 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.51 |
Average class complexity | 38.40 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 131.00 |
Average method complexity | 5.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 44 | |
▷ Static methods | 6 | 13.64% |
▷ Public methods | 38 | 86.36% |
▷ Protected methods | 2 | 4.55% |
▷ Private methods | 4 | 9.09% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin