Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼8.51ms] Passed 4 tests
A check of server-side resources used by SOWPROG import Events Manager Pro
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 41.51 ▼4.43 |
Dashboard /wp-admin | 3.41 ▲0.10 | 52.33 ▼2.78 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 47.86 ▼6.81 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 100.46 ▼20.02 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 38.96 ▲1.56 |
SOWPROG (TEM) /wp-admin/tools.php?page=sowprog-import-events-manager-pro/sowprog_import_eventsmanagerpro.php | 3.30 | 32.12 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for SOWPROG import Events Manager Pro
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.24 ▲0.31 | 1.58 ▼0.41 | 42.43 ▲2.27 |
Dashboard /wp-admin | 2,199 ▲22 | 5.56 ▼0.17 | 107.40 ▲14.12 | 43.43 ▲0.72 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.01 ▲0.04 | 37.09 ▲0.44 | 30.21 ▼5.52 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.65 ▲0.55 | 686.63 ▲47.00 | 50.72 ▼9.37 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.23 ▲0.02 | 99.47 ▼11.07 | 41.98 ▼8.02 |
SOWPROG (TEM) /wp-admin/tools.php?page=sowprog-import-events-manager-pro/sowprog_import_eventsmanagerpro.php | 913 | 2.00 | 29.21 | 24.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 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/sowprog-import-events-manager-pro/sowprog_import_eventsmanagerpro.php:775
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Plugin Name: You should set the name of your plugin on the first line (
=== sowprog-import-events-manager-pro ===
)
sowprog-import-events-manager-pro/sowprog_import_eventsmanagerpro.php 92% from 13 tests
The entry point to "SOWPROG import Events Manager Pro" version 1.0 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 ("sowprog-import-events-manager-pro.php" instead of "sowprog_import_eventsmanagerpro.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin606 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 120 | 56 | 606 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 109.00 |
▷ Minimum class complexity | 109.00 |
▷ Maximum class complexity | 109.00 |
Average method complexity | 9.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.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 | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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 are no PNG files in this plugin