Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.10ms] Passed 4 tests
Server-side resources used by April's Call Posts
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 43.09 ▼4.16 |
Dashboard /wp-admin | 3.32 ▲0.02 | 49.53 ▼2.43 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.64 ▼3.10 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 102.90 ▲9.95 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.89 ▼2.69 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 15 new options
New WordPress options |
---|
db_upgraded |
ahscp_css |
widget_recent-posts |
ahscp_tmpl_1_text |
can_compress_scripts |
ahscp_tmpl_1_group |
ahscp_tmpl_2_text |
widget_theysaidso_widget |
ahscp_tmpl_3_text |
ahscp_tmpl_1_title |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for April's Call Posts
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲40 | 14.72 ▲0.57 | 1.90 ▲0.10 | 45.71 ▲0.71 |
Dashboard /wp-admin | 2,194 ▲17 | 5.63 ▲0.06 | 94.17 ▼11.46 | 43.40 ▼2.10 |
Posts /wp-admin/edit.php | 2,105 ▲2 | 2.03 ▲0.01 | 39.44 ▲1.71 | 35.73 ▲2.02 |
Add New Post /wp-admin/post-new.php | 1,530 ▲4 | 23.16 ▲0.03 | 606.82 ▼68.43 | 64.21 ▲6.27 |
Media Library /wp-admin/upload.php | 1,408 ▲8 | 4.20 ▲0.04 | 96.95 ▼29.54 | 45.06 ▼10.16 |
April's Call Posts /wp-admin/ahs_callposts_admin.php | 26 | 0.42 | 0.10 | 14.58 |
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
- The uninstall procedure has failed, leaving 15 options in the database
- ahscp_tmpl_2_text
- ahscp_tmplnum
- can_compress_scripts
- ahscp_tmpl_1_text
- theysaidso_admin_options
- widget_theysaidso_widget
- ahscp_tmpl_1_title
- ahscp_css
- ahscp_tmpl_3_title
- ahscp_tmpl_3_text
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 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
Please fix the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/aprils-call-posts/ahs_callposts_admin.php:58
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/aprils-call-posts/ahs_callposts.php:258
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following browser errors
- > GET request to /wp-admin/ahs_callposts_admin.php
- > Network (severe)
wp-admin/ahs_callposts_admin.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Screenshots: Screenshot #1 (Template Settings) image required
aprils-call-posts/ahs_callposts.php 85% from 13 tests
The entry point to "April's Call Posts" version 2.1.1 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("aprils-call-posts.php" instead of "ahs_callposts.php")
- Description: The description should be shorter than 140 characters (currently 197 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin623 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 74 | 65 | 480 |
CSS | 1 | 8 | 3 | 80 |
HTML | 1 | 26 | 0 | 63 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
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 | 9 | |
▷ Named functions | 9 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin