Benchmarks
Plugin footprint 83% 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: ▼0.63MB] [CPU: ▼19.71ms] Passed 4 tests
Server-side resources used by ACTUS Motion
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 33.44 ▼2.75 |
Dashboard /wp-admin | 3.38 ▲0.03 | 46.96 ▼13.07 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 48.51 ▼4.45 |
Add New Post /wp-admin/post-new.php | 3.22 ▼2.66 | 32.36 ▼58.56 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 33.33 ▲0.46 |
ACTUS /wp-admin/admin.php?page=actus-plugins | 3.27 | 30.03 |
ACTUS Motion /wp-admin/admin.php?page=actus-motion | 3.27 | 29.94 |
Server storage [IO: ▲0.61MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 43 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
ACTUS_MTN_VERSION |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
ACTUS Motion: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,967 ▲232 | 14.06 ▼0.32 | 6.43 ▲4.70 | 39.93 ▼0.43 |
Dashboard /wp-admin | 2,234 ▲46 | 5.86 ▼0.04 | 107.50 ▲5.46 | 68.12 ▲24.66 |
Posts /wp-admin/edit.php | 2,123 ▲34 | 2.11 ▲0.11 | 39.05 ▼1.27 | 36.25 ▼2.33 |
Add New Post /wp-admin/post-new.php | 6,341 ▲4,808 | 26.18 ▲3.06 | 929.88 ▲233.56 | 44.28 ▼13.26 |
Media Library /wp-admin/upload.php | 1,416 ▲25 | 4.18 ▼0.02 | 109.20 ▲12.10 | 47.93 ▲1.39 |
ACTUS /wp-admin/admin.php?page=actus-plugins | 858 | 2.09 | 27.18 | 41.60 |
ACTUS Motion /wp-admin/admin.php?page=actus-motion | 951 | 2.18 | 25.93 | 28.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- ACTUS_MTN_VERSION
Smoke tests 50% from 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 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/actus-motion/includes/actus-plugins.php
- 5× PHP files trigger server errors when accessed directly:
- > PHP Warning
Use of undefined constant ACTUS_MTN_URL - assumed 'ACTUS_MTN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/actus-motion/includes/actus-plugins.php on line 7
- > PHP Warning
Use of undefined constant ACTUS_MTN_URL - assumed 'ACTUS_MTN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/actus-motion/includes/actus-plugins.php on line 24
- > PHP Warning
Use of undefined constant ACTUS_MTN_URL - assumed 'ACTUS_MTN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/actus-motion/includes/actus-plugins.php on line 29
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/actus-motion/includes/actus-mtn-edit.php:155
- > PHP Warning
Use of undefined constant ACTUS_MTN_URL - assumed 'ACTUS_MTN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/actus-motion/includes/actus-plugins.php on line 19
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
actus-motion/actus-motion.php Passed 13 tests
The entry point to "ACTUS Motion" version 1.0.1 is a PHP file that has certain tags in its header comment area
28 characters long description:
Add motion to your elements.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin2,571 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 226 | 41 | 1,241 |
JavaScript | 2 | 171 | 103 | 773 |
PHP | 8 | 177 | 166 | 557 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
23 PNG files occupy 0.43MB with 0.29MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/arrow.png | 6.43KB | 3.64KB | ▼ 43.32% |
img/actus_white_20.png | 15.42KB | 0.73KB | ▼ 95.25% |
img/actus_white_64.png | 16.75KB | 2.07KB | ▼ 87.67% |
img/banner-amtn.png | 80.17KB | 44.90KB | ▼ 44.00% |
img/checkbox1.png | 1.68KB | 0.64KB | ▼ 61.80% |