Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼3.12ms] Passed 4 tests
Server-side resources used by lamoud-Pregnancy-Calculator
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 48.13 ▲5.27 |
Dashboard /wp-admin | 3.31 ▼0.04 | 100.01 ▲36.47 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.46 ▼2.57 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 93.94 ▼9.63 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.98 ▼5.53 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for lamoud-Pregnancy-Calculator
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.45 ▲0.07 | 2.42 ▲0.58 | 54.88 ▲11.16 |
Dashboard /wp-admin | 2,206 ▲15 | 5.83 ▼0.08 | 116.77 ▼1.18 | 42.45 ▼0.43 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 1.99 ▼0.01 | 52.82 ▲11.67 | 38.84 ▼1.25 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 23.43 ▲0.42 | 647.37 ▼27.22 | 49.45 ▼6.45 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.30 ▼0.10 | 104.60 ▼14.61 | 45.61 ▼11.73 |
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
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 6× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_reset_query() in wp-content/plugins/lamoud-pregnancy-calculator/lamoud-Pregnancy-Calculator.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/lamoud-pregnancy-calculator/includes/lamoud_pergnancy_content.php:33
- > PHP Notice
Undefined variable: month in wp-content/plugins/lamoud-pregnancy-calculator/includes/lamoud_pergnancy_content.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/lamoud-pregnancy-calculator/includes/calc_form.php:58
- > PHP Notice
Undefined variable: year in wp-content/plugins/lamoud-pregnancy-calculator/includes/lamoud_pergnancy_content.php on line 3
- > PHP Notice
Undefined variable: day in wp-content/plugins/lamoud-pregnancy-calculator/includes/lamoud_pergnancy_content.php on line 3
- > PHP Fatal error
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 83% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: Add descriptions for screenshots #1, #2, #3, #4 in lamoud-pregnancy-calculator/assets to your readme.txt
- Plugin Name: Please specify the plugin name on the first line (
=== lamoud-pregnancy-calculator ===
) - Contributors: The plugin contributors field is missing
lamoud-pregnancy-calculator/lamoud-Pregnancy-Calculator.php 85% from 13 tests
"lamoud-Pregnancy-Calculator" version 1.0.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 176 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("lamoud-pregnancy-calculator.php" instead of "lamoud-Pregnancy-Calculator.php")
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
Success! There were no dangerous files found in this plugin717 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 21 | 2 | 280 |
PHP | 4 | 68 | 21 | 267 |
PO File | 1 | 52 | 56 | 134 |
JavaScript | 1 | 8 | 0 | 33 |
Markdown | 1 | 1 | 0 | 3 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
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 | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin