Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.56ms] Passed 4 tests
This is a short check of server-side resources used by WarmupReps
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.87 ▼2.79 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.21 ▼10.84 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.62 ▼11.09 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.38 ▼1.53 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.39 ▲0.03 |
Server storage [IO: ▲0.90MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 37 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_wmp_workout |
wp_wmp_excercise |
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
wmp_default_data_imported |
Browser metrics Passed 4 tests
A check of browser resources used by WarmupReps
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.23 ▼1.23 | 1.62 ▼0.09 | 38.14 ▼7.41 |
Dashboard /wp-admin | 2,203 ▲14 | 4.86 ▼0.06 | 114.48 ▼7.96 | 42.29 ▼4.00 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.02 ▼0.01 | 39.95 ▲1.89 | 35.18 ▲2.66 |
Add New Post /wp-admin/post-new.php | 1,545 ▼0 | 18.45 ▲0.12 | 602.06 ▼4.31 | 65.53 ▼2.60 |
Media Library /wp-admin/upload.php | 1,391 ▲9 | 4.28 ▲0.07 | 95.66 ▼2.76 | 43.42 ▼1.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots do not have images: #1 (Programs editor. Customize the name and description and add new programs.), #2 (Exercise editor.), #3 (Workout Routines editor. This is where you can edit workout routines.), #4 (Settings. The plugin settings page.), #5 (User interface.)
- Plugin Name: You should set the name of your plugin on the first line (
=== warmupreps ===
)
warmupreps/warmupreps.php Passed 13 tests
The primary PHP file in "WarmupReps" version 1.0.0.0 is used by WordPress to initiate all plugin functionality
106 characters long description:
Easily calculate and log your workout routines from popular strength training programs or create your own.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected3,313 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 53 | 57 | 1,454 |
PHP | 19 | 272 | 966 | 1,376 |
JavaScript | 4 | 52 | 90 | 483 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 12.11 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 2.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 74 | |
▷ Static methods | 6 | 8.11% |
▷ Public methods | 57 | 77.03% |
▷ Protected methods | 12 | 16.22% |
▷ Private methods | 5 | 6.76% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
5 PNG files occupy 0.73MB with 0.42MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-5.png | 502.52KB | 189.65KB | ▼ 62.26% |
screenshot-1.png | 41.29KB | 17.58KB | ▼ 57.43% |
screenshot-3.png | 124.75KB | 54.12KB | ▼ 56.61% |
screenshot-2.png | 50.68KB | 22.13KB | ▼ 56.33% |
screenshot-4.png | 27.93KB | 11.72KB | ▼ 58.04% |