Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.57MB] [CPU: ▲2.53ms] 75% from 4 tests
Analyzing server-side resources used by EPOI - WP Points and Rewards
The following require your attention
- CPU: Total CPU usage should be kept under 500.00ms (currently 675.42ms on /wp-admin/admin.php?page=epoi-settings)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 40.71 ▲4.01 |
Dashboard /wp-admin | 4.07 ▲0.76 | 55.51 ▲9.66 |
Posts /wp-admin/edit.php | 4.13 ▲0.78 | 53.60 ▲3.88 |
Add New Post /wp-admin/post-new.php | 6.59 ▲0.70 | 89.56 ▼7.06 |
Media Library /wp-admin/upload.php | 3.93 ▲0.70 | 44.25 ▲9.28 |
Settings /wp-admin/admin.php?page=epoi-settings | 4.24 | 675.42 |
Point records /wp-admin/admin.php?page=epoi-records | 3.91 | 40.00 |
Extensions /wp-admin/admin.php?page=epoi-wp-points-and-rewards-extensions | 3.91 | 41.95 |
User's points /wp-admin/admin.php?page=epoi | 4.00 | 45.82 |
Server storage [IO: ▲2.76MB] [DB: ▲0.02MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 120 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_epoi_point_reward_system |
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
epoi-wp-points-and-rewards_start_use |
Browser metrics Passed 4 tests
Checking browser requirements for EPOI - WP Points and Rewards
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,854 ▲83 | 13.64 ▼1.04 | 2.11 ▲0.13 | 40.59 ▲1.24 |
Dashboard /wp-admin | 2,260 ▲69 | 4.95 ▲0.05 | 102.70 ▲2.08 | 41.47 ▼0.17 |
Posts /wp-admin/edit.php | 2,148 ▲59 | 2.03 ▼0.02 | 35.96 ▼3.94 | 33.08 ▼2.81 |
Add New Post /wp-admin/post-new.php | 1,569 ▲27 | 23.24 ▲4.99 | 658.48 ▲11.00 | 52.36 ▼2.72 |
Media Library /wp-admin/upload.php | 1,442 ▲57 | 4.21 ▲0.05 | 97.86 ▼1.83 | 46.11 ▲2.27 |
Settings /wp-admin/admin.php?page=epoi-settings | 1,998 | 4.56 | 99.13 | 115.29 |
Point records /wp-admin/admin.php?page=epoi-records | 1,067 | 2.04 | 24.14 | 29.97 |
Extensions /wp-admin/admin.php?page=epoi-wp-points-and-rewards-extensions | 1,756 | 2.02 | 29.84 | 64.64 |
User's points /wp-admin/admin.php?page=epoi | 1,248 | 1.69 | 26.46 | 31.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie tables were found after uninstall: 1 table
- wp_epoi_point_reward_system
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- epoi-wp-points-and-rewards_start_use
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
Looking good! No server-side errors or output 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, but this is not an exhaustive test
Optimizations
Plugin configuration 97% 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
These attributes need your attention:
- Screenshots: Add a description for screenshot #4 in epoi-wp-points-and-rewards/assets to your readme.txt
epoi-wp-points-and-rewards/epoi-wp-points-and-rewards.php Passed 13 tests
The primary PHP file in "EPOI - WP Points and Rewards" version 1.0.6 is used by WordPress to initiate all plugin functionality
111 characters long description:
Reward users with points. You can create a better user-experience environment with a Points and Rewards system.
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
Everything looks great! No dangerous files found in this plugin11,602 lines of code in 98 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 34 | 1,208 | 150 | 4,911 |
SVG | 3 | 0 | 12 | 3,809 |
CSS | 38 | 149 | 204 | 1,510 |
Sass | 5 | 192 | 19 | 1,046 |
JavaScript | 18 | 65 | 6 | 326 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 26.14 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 108.00 |
Average method complexity | 4.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 53.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 29 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 29 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 231 | |
▷ Static methods | 48 | 20.78% |
▷ Public methods | 205 | 88.74% |
▷ Protected methods | 24 | 10.39% |
▷ Private methods | 2 | 0.87% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin