Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.63ms] Passed 4 tests
This is a short check of server-side resources used by CallOnPost
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.21 ▼4.37 |
Dashboard /wp-admin | 3.33 ▲0.03 | 51.32 ▼1.55 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 50.80 ▼2.14 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 92.86 ▼2.45 |
Media Library /wp-admin/upload.php | 3.26 ▲0.02 | 38.05 ▲2.47 |
Call On Post /wp-admin/options-general.php?page=call-on-post/call-on-post.php | 3.22 | 33.16 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for CallOnPost
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.35 ▼0.01 | 1.53 ▼0.63 | 37.81 ▼6.38 |
Dashboard /wp-admin | 2,193 ▲19 | 5.58 ▼0.02 | 86.69 ▼5.20 | 39.74 ▲0.94 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.99 ▼0.00 | 36.07 ▲0.75 | 35.75 ▼0.10 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.10 ▼0.06 | 684.95 ▼7.67 | 55.07 ▼4.22 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.22 ▼0.05 | 113.58 ▲6.66 | 47.93 ▲0.38 |
Call On Post /wp-admin/options-general.php?page=call-on-post/call-on-post.php | 797 | 2.00 | 23.97 | 30.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/call-on-post/call-on-post.php:63
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== call-on-post ===
)
call-on-post/call-on-post.php Passed 13 tests
"CallOnPost" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
140 characters long description:
"Call On Post" is a Post Notifier as a plugin which will "fetch" automatic the specified URL when a post is published or modified by a user.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected108 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 15 | 10 | 108 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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 were not PNG files found in your plugin