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
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼4.26ms] Passed 4 tests
Server-side resources used by Moveahead Media AMP Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 36.07 ▲1.53 |
Dashboard /wp-admin | 3.34 ▲0.04 | 41.77 ▼5.22 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 44.07 ▼3.19 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 89.38 ▼7.06 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 32.36 ▼1.58 |
All AMP Sliders /wp-admin/edit.php?post_type=mamps-ampslider | 3.31 | 43.28 |
Add New /wp-admin/post-new.php?post_type=mamps-ampslider | 3.38 | 45.09 |
Server storage [IO: ▲0.05MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Moveahead Media AMP Slider: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,888 ▲127 | 13.88 ▼0.47 | 22.26 ▲20.65 | 36.92 ▼8.31 |
Dashboard /wp-admin | 2,224 ▲44 | 5.70 ▲0.06 | 86.97 ▼3.34 | 38.95 ▼0.15 |
Posts /wp-admin/edit.php | 2,129 ▲29 | 2.01 ▼0.02 | 36.27 ▲0.50 | 31.16 ▼4.29 |
Add New Post /wp-admin/post-new.php | 1,551 ▲25 | 22.89 ▼0.87 | 588.17 ▼73.40 | 67.01 ▲5.02 |
Media Library /wp-admin/upload.php | 1,432 ▲32 | 4.30 ▲0.13 | 96.84 ▲4.70 | 41.76 ▼2.28 |
All AMP Sliders /wp-admin/edit.php?post_type=mamps-ampslider | 1,093 | 1.98 | 31.12 | 31.55 |
Add New /wp-admin/post-new.php?post_type=mamps-ampslider | 2,330 | 7.63 | 175.90 | 70.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 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 50% from 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
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mam-amp-slider/mam-amp-slider.php:12
- > PHP Fatal error
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
Attributes that need to be fixed:
- Donate link: Invalid URI ("paypal.me/Peace71")
mam-amp-slider/mam-amp-slider.php Passed 13 tests
The entry point to "Moveahead Media AMP Slider" version 1.1 is a PHP file that has certain tags in its header comment area
87 characters long description:
Create custom AMP slider for every page easily. (This Plugin Require ACF Pro installed)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected739 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 14 | 27 | 398 |
JSON | 1 | 0 | 0 | 299 |
Markdown | 1 | 11 | 0 | 39 |
JavaScript | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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 | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin