Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲5.58MB] [CPU: ▲26.84ms] 75% from 4 tests
Server-side resources used by AgendaPress - Easily Publish Meeting Agendas and Programs on WordPress
Please fix the following
- Extra RAM: Extra memory usage must be kept under 5MB (currently 5.58MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.24 ▲5.77 | 75.03 ▲31.75 |
Dashboard /wp-admin | 9.26 ▲5.91 | 85.53 ▲8.53 |
Posts /wp-admin/edit.php | 9.26 ▲5.90 | 76.67 ▲31.56 |
Add New Post /wp-admin/post-new.php | 10.60 ▲4.72 | 128.56 ▲35.51 |
Media Library /wp-admin/upload.php | 9.26 ▲6.03 | 83.98 ▲44.69 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 9.26 | 65.89 |
Server storage [IO: ▲4.59MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 332 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_theysaidso_widget |
fs_active_plugins |
fs_accounts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
fs_debug_mode |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by AgendaPress - Easily Publish Meeting Agendas and Programs on WordPress
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,004 ▲243 | 14.24 ▼0.15 | 9.25 ▲7.52 | 32.72 ▼11.24 |
Dashboard /wp-admin | 2,284 ▲103 | 5.50 ▼0.17 | 100.23 ▼13.67 | 38.27 ▼5.21 |
Posts /wp-admin/edit.php | 2,193 ▲93 | 2.64 ▲0.66 | 44.42 ▲9.67 | 39.00 ▲4.50 |
Add New Post /wp-admin/post-new.php | 1,607 ▲201 | 21.34 ▲3.47 | 737.23 ▲98.51 | 38.64 ▼13.76 |
Media Library /wp-admin/upload.php | 1,486 ▲83 | 5.03 ▲0.82 | 109.88 ▲7.97 | 46.69 ▲0.91 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 1,157 | 2.58 | 28.96 | 28.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/agendapress/freemius/includes/class-freemius.php+8546
Undefined property: stdClass::$plugins
- This plugin did not uninstall successfully, leaving 9 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- fs_accounts
- fs_active_plugins
- fs_debug_mode
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 4× PHP files output text when accessed directly:
- > /wp-content/plugins/agendapress/public/partials/agendapress-public-display.php
- > /wp-content/plugins/agendapress/admin/partials/meta-boxes/agenda-grid.php
- > /wp-content/plugins/agendapress/admin/partials/meta-boxes/venue-rooms.php
- > /wp-content/plugins/agendapress/admin/partials/agendapress-admin-display.php
- 18× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: session in wp-content/plugins/agendapress/admin/partials/meta-boxes/agenda-sessions.php on line 123
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/agendapress/admin/partials/meta-boxes/venue-general-info.php:5
- > PHP Notice
Undefined variable: post in wp-content/plugins/agendapress/admin/partials/meta-boxes/agenda-sessions.php on line 154
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/agendapress/admin/partials/meta-boxes/template-style-general-info.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/agendapress/admin/partials/meta-boxes/agenda-general-info.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/agendapress/admin/partials/meta-boxes/session-venue.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/agendapress/admin/partials/meta-boxes/session-general-info.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function age_fs() in wp-content/plugins/agendapress/admin/partials/meta-boxes/template-style-session-style.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/agendapress/admin/partials/meta-boxes/session-speakers.php:5
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/agendapress/admin/partials/meta-boxes/agenda-sessions.php on line 123
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Requires at least: The plugin version is formatted incorrectly
agendapress/agendapress.php Passed 13 tests
This is the main PHP file of "AgendaPress - Easily Publish Meeting Agendas and Programs on WordPress" version 1.0.8, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
123 characters long description:
AgendaPress is a powerful tool for meeting organizers to create and style agendas, orders of service, concert programs etc.
Code Analysis 97% from 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
Success! There were no dangerous files found in this plugin57,982 lines of code in 279 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 153 | 8,624 | 18,102 | 37,769 |
JavaScript | 98 | 852 | 1,734 | 17,842 |
CSS | 27 | 334 | 346 | 2,370 |
JSON | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
The following items need your attention
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 3,096)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 77.89 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,096.00 |
Average method complexity | 4.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 1 | |
Traits | 2 | |
Classes | 61 | |
▷ Abstract classes | 2 | 3.28% |
▷ Concrete classes | 59 | 96.72% |
▷ Final classes | 0 | 0.00% |
Methods | 1,401 | |
▷ Static methods | 207 | 14.78% |
▷ Public methods | 995 | 71.02% |
▷ Protected methods | 17 | 1.21% |
▷ Private methods | 389 | 27.77% |
Functions | 106 | |
▷ Named functions | 105 | 99.06% |
▷ Anonymous functions | 1 | 0.94% |
Constants | 147 | |
▷ Global constants | 100 | 68.03% |
▷ Class constants | 47 | 31.97% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
6 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
admin/imgs/checklist.png | 0.75KB | 0.84KB | 0.00% |
public/images/twitter.png | 0.55KB | 0.95KB | 0.00% |
public/images/facebook.png | 0.53KB | 0.84KB | 0.00% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |