WordPress plugin Ads scored 93% from 54 tests.

About plugin

  • Plugin page: ads-easy-simple-f...
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.6-4.2
  • WordPress version: 5.9.2
  • First release: Apr 12, 2015
  • Latest release: Apr 25, 2015
  • Number of updates: 7
  • Update frequency: every 2.1 days
  • Top authors: asmsayem (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

10+ active / 8,233 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▼0.40MB] [CPU: ▼316.65ms] Passed 4 tests

Server-side resources used by Ads
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0156.06 ▲5.21
Dashboard /wp-admin3.20 ▼0.2121.28 ▼11.07
Posts /wp-admin/edit.php3.26 ▼0.3824.20 ▼15.93
Add New Post /wp-admin/post-new.php6.04 ▼0.9374.65 ▼1,230.05
Media Library /wp-admin/upload.php3.22 ▼0.0721.48 ▼9.54

Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 6 new files
Database: 1 new table, no new options
New tables
wp_METAAPP_ADS

Browser metrics Passed 4 tests

Ads: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,810 ▲6315.85 ▲0.646.13 ▼3.332.51 ▲0.02
Dashboard /wp-admin2,924 ▲706.08 ▼0.17130.30 ▼25.68183.39 ▼48.48
Posts /wp-admin/edit.php2,714 ▲233.23 ▼0.0062.89 ▲0.70137.35 ▼20.51
Add New Post /wp-admin/post-new.php1,799 ▲8822.87 ▲1.55426.51 ▼39.49157.24 ▼8.62
Media Library /wp-admin/upload.php1,723 ▲255.48 ▼0.00156.57 ▲3.00243.62 ▲54.51

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled successfully, without leaving any zombie files or tables

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 50% 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
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/ads-easy-simple-for-ads-into-post/index.php:22

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 86% from 29 tests

readme.txt 81% 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 to be fixed:
  • Tags: There are too many tags (16 tag instead of maximum 10)
  • Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line ( === ads-easy-simple-for-ads-into-post === )
  • Screenshots: Please add images for these screenshots: #1 (Ads in live action), #2 (Setting Options), #3 (How to add the shortcode in posts/pages)
Please take inspiration from this readme.txt

ads-easy-simple-for-ads-into-post/index.php 92% from 13 tests

"Ads" version 1.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("ads-easy-simple-for-ads-into-post.php" instead of "index.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected295 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP44342278
CSS12017

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.18
Average class complexity1.00
▷ Minimum class complexity1.00
▷ Maximum class complexity1.00
Average method complexity1.00
▷ Minimum method complexity1.00
▷ Maximum method complexity1.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods3
▷ Static methods00.00%
▷ Public methods3100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions15
▷ Named functions15100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin