Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲5.48MB] [CPU: ▲49.68ms] 75% from 4 tests
This is a short check of server-side resources used by Front End PM
Please fix the following
- Extra RAM: Extra memory usage must be kept under 5MB (currently 5.48MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.90 ▲5.44 | 78.25 ▲39.65 |
Dashboard /wp-admin | 8.92 ▲5.57 | 118.80 ▲61.68 |
Posts /wp-admin/edit.php | 8.92 ▲5.56 | 112.20 ▲59.93 |
Add New Post /wp-admin/post-new.php | 11.24 ▲5.35 | 135.09 ▲37.44 |
Media Library /wp-admin/upload.php | 8.92 ▲5.69 | 95.46 ▲62.48 |
All Attachments /wp-admin/admin.php?page=fep-all-attachments | 8.92 | 85.92 |
All Announcements /wp-admin/admin.php?page=fep-all-announcements | 8.92 | 82.49 |
Settings /wp-admin/admin.php?page=fep_settings | 8.92 | 84.76 |
Edit /wp-admin/admin.php?page=fep-edit | 8.92 | 80.53 |
Upgrade ➤ /wp-admin/admin.php?page=fep-all-messages-pricing | 8.92 | 79.24 |
Contact Us /wp-admin/admin.php?page=fep-all-messages-contact | 8.92 | 86.25 |
Update /wp-admin/admin.php?page=fep_update | 8.92 | 83.09 |
Support Forum /wp-admin/admin.php?page=fep-all-messages-wp-support-forum | 8.92 | 76.62 |
All Messages /wp-admin/admin.php?page=fep-all-messages | 8.92 | 96.05 |
Freemius Debug [v.2.5.12] /wp-admin/admin.php?page=freemius | 8.92 | 82.03 |
Server storage [IO: ▲3.62MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 251 new files
Database: 4 new tables, 14 new options
New tables |
---|
wp_fep_messages |
wp_fep_attachments |
wp_fep_participants |
wp_fep_messagemeta |
New WordPress options |
---|
widget_fep_menu_widget |
can_compress_scripts |
db_upgraded |
widget_fep_empty_widget |
FEP_admin_options |
fs_debug_mode |
widget_recent-comments |
widget_recent-posts |
fs_accounts |
fep_db_version |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Front End PM
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,949 ▲203 | 13.50 ▼0.77 | 9.14 ▲7.56 | 41.36 ▼2.62 |
Dashboard /wp-admin | 2,246 ▲69 | 5.63 ▼0.06 | 84.51 ▼3.01 | 42.07 ▼1.24 |
Posts /wp-admin/edit.php | 2,154 ▲54 | 2.02 ▲0.05 | 41.35 ▲7.02 | 40.10 ▲5.56 |
Add New Post /wp-admin/post-new.php | 1,569 ▲43 | 23.04 ▼0.69 | 647.25 ▼51.50 | 56.13 ▼5.10 |
Media Library /wp-admin/upload.php | 1,448 ▲48 | 4.12 ▼0.08 | 101.07 ▼0.02 | 45.36 ▼0.85 |
All Attachments /wp-admin/admin.php?page=fep-all-attachments | 1,082 | 2.05 | 26.68 | 32.51 |
All Announcements /wp-admin/admin.php?page=fep-all-announcements | 1,048 | 2.08 | 25.72 | 29.49 |
Settings /wp-admin/admin.php?page=fep_settings | 1,275 | 2.05 | 23.92 | 31.62 |
Edit /wp-admin/admin.php?page=fep-edit | 708 | 1.51 | 6.52 | 20.19 |
Upgrade ➤ /wp-admin/admin.php?page=fep-all-messages-pricing | 2,591 | 3.46 | 68.06 | 154.65 |
Contact Us /wp-admin/admin.php?page=fep-all-messages-contact | 1,580 | 3.13 | 52.36 | 53.38 |
Update /wp-admin/admin.php?page=fep_update | 852 | 2.06 | 24.03 | 26.33 |
Support Forum /wp-admin/admin.php?page=fep-all-messages-wp-support-forum | 1,759 | 5.16 | 139.92 | 48.52 |
All Messages /wp-admin/admin.php?page=fep-all-messages | 1,075 | 2.05 | 26.53 | 31.38 |
Freemius Debug [v.2.5.12] /wp-admin/admin.php?page=freemius | 1,115 | 1.71 | 23.87 | 31.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% 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 failed, leaving 4 tables in the database
- wp_fep_messages
- wp_fep_messagemeta
- wp_fep_attachments
- wp_fep_participants
- This plugin did not uninstall successfully, leaving 14 options in the database
- db_upgraded
- widget_fep_empty_widget
- widget_recent-posts
- widget_theysaidso_widget
- FEP_admin_options
- widget_fep_text_widget
- widget_recent-comments
- theysaidso_admin_options
- fs_active_plugins
- fep_db_version
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% 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
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
front-end-pm/front-end-pm.php 92% from 13 tests
The main PHP file in "Front End PM" ver. 11.4.3 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 320 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin44,951 lines of code in 198 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 166 | 8,913 | 17,544 | 42,323 |
JavaScript | 15 | 233 | 211 | 1,722 |
CSS | 16 | 117 | 21 | 692 |
Markdown | 1 | 68 | 0 | 214 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Please tend to the following items
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 3,088)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 76.91 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,088.00 |
Average method complexity | 4.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 75 | |
▷ Abstract classes | 2 | 2.67% |
▷ Concrete classes | 73 | 97.33% |
▷ Final classes | 0 | 0.00% |
Methods | 1,525 | |
▷ Static methods | 221 | 14.49% |
▷ Public methods | 1,115 | 73.11% |
▷ Protected methods | 31 | 2.03% |
▷ Private methods | 379 | 24.85% |
Functions | 206 | |
▷ Named functions | 200 | 97.09% |
▷ Anonymous functions | 6 | 2.91% |
Constants | 154 | |
▷ Global constants | 107 | 69.48% |
▷ Class constants | 47 | 30.52% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
7 PNG files occupy 0.03MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/pro_only.png | 1.16KB | 1.22KB | 0.00% |
assets/images/desktop-notification-32.png | 0.70KB | 0.71KB | 0.00% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
assets/images/avatar-group-60.png | 2.20KB | 2.21KB | 0.00% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |