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.10MB] [CPU: ▼3.61ms] Passed 4 tests
This is a short check of server-side resources used by EventsFrame Connector
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 39.28 ▼5.45 |
Dashboard /wp-admin | 3.42 ▲0.11 | 47.55 ▼5.06 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 51.45 ▲1.25 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 93.00 ▼0.39 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 34.34 ▼3.52 |
All Events /wp-admin/edit.php?post_type=eventsframe | 3.39 | 40.68 |
Add New Event Page /wp-admin/post-new.php?post_type=eventsframe | 3.35 | 44.35 |
EventsFrame /wp-admin/options-general.php?page=efrm_settings | 3.31 | 33.10 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for EventsFrame Connector
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲37 | 14.26 ▼0.09 | 1.84 ▼0.04 | 44.38 ▲0.93 |
Dashboard /wp-admin | 2,229 ▲55 | 5.58 ▼0.09 | 94.52 ▼3.50 | 41.61 ▼4.62 |
Posts /wp-admin/edit.php | 2,134 ▲34 | 2.04 ▲0.08 | 39.20 ▲2.33 | 37.56 ▼2.66 |
Add New Post /wp-admin/post-new.php | 1,552 ▲24 | 23.17 ▲0.03 | 603.46 ▼77.95 | 55.64 ▼3.33 |
Media Library /wp-admin/upload.php | 1,425 ▲22 | 4.27 ▲0.09 | 95.15 ▼10.27 | 43.10 ▼0.91 |
All Events /wp-admin/edit.php?post_type=eventsframe | 1,092 | 1.94 | 31.06 | 32.49 |
Add New Event Page /wp-admin/post-new.php?post_type=eventsframe | 894 | 1.51 | 6.63 | 22.59 |
EventsFrame /wp-admin/options-general.php?page=efrm_settings | 841 | 2.03 | 25.26 | 30.88 |
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-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Requires at least: Invalid version format
eventsframe-connector/eventsframe.php 92% from 13 tests
The principal PHP file in "EventsFrame Connector" v. 1.04 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("eventsframe-connector.php" instead of "eventsframe.php")
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
There were no executable files found in this plugin444 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 270 | 9 | 444 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 20.50 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 1.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 2 | 100.00% |
Methods | 41 | |
▷ Static methods | 1 | 2.44% |
▷ Public methods | 31 | 75.61% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 24.39% |
Functions | 2 | |
▷ Named functions | 2 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin